org.jclouds.openstack.cinder.v1.domain
Class VolumeType.Builder<T extends VolumeType.Builder<T>>

java.lang.Object
  extended by org.jclouds.openstack.cinder.v1.domain.VolumeType.Builder<T>
Enclosing class:
VolumeType

public abstract static class VolumeType.Builder<T extends VolumeType.Builder<T>>
extends Object


Field Summary
protected  Date created
           
protected  Map<String,String> extraSpecs
           
protected  String id
           
protected  String name
           
protected  Date updated
           
 
Constructor Summary
VolumeType.Builder()
           
 
Method Summary
 VolumeType build()
           
 T created(Date created)
           
 T extraSpecs(Map<String,String> extraSpecs)
           
 T fromVolumeType(VolumeType in)
           
 T id(String id)
           
 T name(String name)
           
protected abstract  T self()
           
 T updated(Date updated)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

name

protected String name

created

protected Date created

updated

protected Date updated

extraSpecs

protected Map<String,String> extraSpecs
Constructor Detail

VolumeType.Builder

public VolumeType.Builder()
Method Detail

self

protected abstract T self()

id

public T id(String id)
See Also:
VolumeType.getId()

name

public T name(String name)
See Also:
VolumeType.getName()

created

public T created(Date created)
See Also:
VolumeType.getCreated()

updated

public T updated(Date updated)
See Also:
VolumeType.getUpdated()

extraSpecs

public T extraSpecs(Map<String,String> extraSpecs)
See Also:
VolumeType.getExtraSpecs()

build

public VolumeType build()

fromVolumeType

public T fromVolumeType(VolumeType in)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.