Class VolumeQuota
- java.lang.Object
-
- org.jclouds.openstack.cinder.v1.domain.VolumeQuota
-
public class VolumeQuota extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVolumeQuota.Builder<T extends VolumeQuota.Builder<T>>
-
Constructor Summary
Constructors Modifier Constructor Description protectedVolumeQuota(String id, int volumes, int gigabytes, int snapshots)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VolumeQuota.Builder<?>builder()booleanequals(Object obj)intgetGigabytes()The limit of the total size of all volumes for the tenantStringgetId()The id of the tenant this set of limits applies tointgetSnapshots()The limit of the number of snapshots that can be used by the tenantintgetVolumes()The limit of the number of volumes that can be created for the tenantinthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()VolumeQuota.Builder<?>toBuilder()StringtoString()
-
-
-
Constructor Detail
-
VolumeQuota
protected VolumeQuota(String id, int volumes, int gigabytes, int snapshots)
-
-
Method Detail
-
getId
public String getId()
The id of the tenant this set of limits applies to
-
getVolumes
public int getVolumes()
The limit of the number of volumes that can be created for the tenant
-
getGigabytes
public int getGigabytes()
The limit of the total size of all volumes for the tenant
-
getSnapshots
public int getSnapshots()
The limit of the number of snapshots that can be used by the tenant
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
builder
public static VolumeQuota.Builder<?> builder()
-
toBuilder
public VolumeQuota.Builder<?> toBuilder()
-
-