org.jclouds.openstack.nova.v2_0.domain
Class Quotas

java.lang.Object
  extended by org.jclouds.openstack.nova.v2_0.domain.Quotas
Direct Known Subclasses:
QuotaClass

public class Quotas
extends Object

Represents the set of limits (quotas) returned by the Quota Extension

See Also:
QuotaApi

Nested Class Summary
static class Quotas.Builder<T extends Quotas.Builder<T>>
           
 
Constructor Summary
protected Quotas(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 Summary
static Quotas.Builder<?> builder()
           
 boolean equals(Object obj)
           
 int getCores()
          The limit of the number of cores that can be used by the tenant
 int getFloatingIps()
          The limit of the number of floating ips for the tenant
 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 getInjectedFileContentBytes()
           
 int getInjectedFiles()
           
 int getInstances()
          The limit of the number of instances that can be created for the tenant
 int getKeyPairs()
           
 int getMetadataItems()
          The limit of the number of metadata items for the tenant
 int getRam()
          The limit of total ram available to the tenant
 int getSecurityGroupRules()
           
 int getSecurityGroups()
           
 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()
           
 Quotas.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Quotas

@ConstructorProperties(value={"id","metadata_items","injected_file_content_bytes","volumes","gigabytes","ram","floating_ips","instances","injected_files","cores","security_groups","security_group_rules","key_pairs"})
protected Quotas(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 Detail

builder

public static Quotas.Builder<?> builder()

toBuilder

public Quotas.Builder<?> toBuilder()

getId

public String getId()
The id of the tenant this set of limits applies to


getMetadataItems

public int getMetadataItems()
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:
SecurityGroupApi

getSecurityGroupRules

public int getSecurityGroupRules()
Returns:
the limit of the number of security group rules that can be created for the tenant
See Also:
SecurityGroupApi

getKeyPairs

public int getKeyPairs()
Returns:
the limit of the number of key pairs that can be created for the tenant
See Also:
KeyPairApi

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.