public class VolumeQuota extends Object
Modifier and Type | Class and Description |
---|---|
static class |
VolumeQuota.Builder<T extends VolumeQuota.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
VolumeQuota(String id,
int volumes,
int gigabytes,
int snapshots) |
Modifier and Type | Method and Description |
---|---|
static VolumeQuota.Builder<?> |
builder() |
boolean |
equals(Object obj) |
int |
getGigabytes()
The limit of the total size of all volumes for the tenant
|
String |
getId()
The id of the tenant this set of limits applies to
|
int |
getSnapshots()
The limit of the number of snapshots that can be used by the tenant
|
int |
getVolumes()
The limit of the number of volumes that can be created for the tenant
|
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
VolumeQuota.Builder<?> |
toBuilder() |
String |
toString() |
protected VolumeQuota(String id, int volumes, int gigabytes, int snapshots)
public String getId()
public int getVolumes()
public int getGigabytes()
public int getSnapshots()
protected com.google.common.base.Objects.ToStringHelper string()
public static VolumeQuota.Builder<?> builder()
public VolumeQuota.Builder<?> toBuilder()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.