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

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

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


Field Summary
protected  int gigabytes
           
protected  String id
           
protected  int snapshots
           
protected  int volumes
           
 
Constructor Summary
VolumeQuota.Builder()
           
 
Method Summary
 VolumeQuota build()
           
 T fromVolumeQuota(VolumeQuota in)
           
 T gigabytes(int gigabytes)
           
 T id(String id)
           
protected abstract  T self()
           
 T snapshots(int snapshots)
           
 T volumes(int volumes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

volumes

protected int volumes

gigabytes

protected int gigabytes

snapshots

protected int snapshots
Constructor Detail

VolumeQuota.Builder

public VolumeQuota.Builder()
Method Detail

self

protected abstract T self()

id

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

volumes

public T volumes(int volumes)
See Also:
VolumeQuota.getVolumes()

gigabytes

public T gigabytes(int gigabytes)
See Also:
VolumeQuota.getGigabytes()

snapshots

public T snapshots(int snapshots)
See Also:
VolumeQuota.getSnapshots()

build

public VolumeQuota build()

fromVolumeQuota

public T fromVolumeQuota(VolumeQuota in)


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