Class Quota
java.lang.Object
org.jclouds.openstack.nova.v2_0.domain.Quota
Represents the set of limits (quotas) returned by the Quota Extension
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Quota.Builder
<?> builder()
boolean
int
getCores()
The limit of the number of cores that can be used by the tenantint
The limit of the number of floating ips for the tenantint
The limit of the total size of all volumes for the tenantgetId()
The id of the tenant this set of limits applies toint
int
int
The limit of the number of instances that can be created for the tenantint
int
The limit of the number of metadata items for the tenantint
getRam()
The limit of total ram available to the tenantint
int
int
The limit of the number of volumes that can be created for the tenantint
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
toString()
-
Constructor Details
-
Quota
@ConstructorProperties({"id","metadata_items","injected_file_content_bytes","volumes","gigabytes","ram","floating_ips","instances","injected_files","cores","security_groups","security_group_rules","key_pairs"}) protected Quota(String id, int metadataItems, int injectedFileContentBytes, int volumes, int gigabytes, int ram, int floatingIps, int instances, int injectedFiles, int cores, int securityGroups, int securityGroupRules, int keyPairs)
-
-
Method Details
-
builder
-
toBuilder
-
getId
The id of the tenant this set of limits applies to -
getMetadatas
public int getMetadatas()The limit of the number of metadata items for the tenant -
getInjectedFileContentBytes
public int getInjectedFileContentBytes() -
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 -
getRam
public int getRam()The limit of total ram available to the tenant -
getFloatingIps
public int getFloatingIps()The limit of the number of floating ips for the tenant -
getInstances
public int getInstances()The limit of the number of instances that can be created for the tenant -
getInjectedFiles
public int getInjectedFiles() -
getCores
public int getCores()The limit of the number of cores that can be used by the tenant -
getSecurityGroups
public int getSecurityGroups()- Returns:
- the limit of the number of security groups that can be created for the tenant
- See Also:
-
getSecurityGroupRules
public int getSecurityGroupRules()- Returns:
- the limit of the number of security group rules that can be created for the tenant
- See Also:
-
getKeyPairs
public int getKeyPairs()- Returns:
- the limit of the number of key pairs that can be created for the tenant
- See Also:
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-