Class Quota


  • public class Quota
    extends Object
    Represents the set of limits (quotas) returned by the Quota Extension
    See Also:
    QuotaApi
    • Constructor Detail

      • 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 Detail

      • getId

        public String 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:
        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
      • string

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