Package com.oracle.bmc.limits.model
Class LimitDefinitionSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.limits.model.LimitDefinitionSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20181025") public final class LimitDefinitionSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe metadata specific to a resource limit definition.
 Note: Objects should always be created or deserialized using theLimitDefinitionSummary.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theLimitDefinitionSummary.Builder, which maintain a set of all explicitly set fields calledLimitDefinitionSummary.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classLimitDefinitionSummary.Builderstatic classLimitDefinitionSummary.ScopeTypeReflects the scope of the resource limit, whether Global (across all regions), regional, or availability domain-specific.
 - 
Constructor SummaryConstructors Constructor Description LimitDefinitionSummary(String name, String serviceName, String description, LimitDefinitionSummary.ScopeType scopeType, Boolean areQuotasSupported, Boolean isResourceAvailabilitySupported, Boolean isDeprecated, Boolean isEligibleForLimitIncrease, Boolean isDynamic, List<String> supportedSubscriptions, List<String> supportedQuotaFamilies)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LimitDefinitionSummary.Builderbuilder()Create a new builder.booleanequals(Object o)BooleangetAreQuotasSupported()If true, quota policies can be created on top of this resource limit.StringgetDescription()The limit description.BooleangetIsDeprecated()Indicates if the limit has been deprecated.BooleangetIsDynamic()The limit for this resource has a dynamic value that is based on consumption across all OCI services.BooleangetIsEligibleForLimitIncrease()Indicates if the customer can request a limit increase for this resource.BooleangetIsResourceAvailabilitySupported()Reflects whether or not the GetResourceAvailability API is supported for this limit.StringgetName()The resource limit name.LimitDefinitionSummary.ScopeTypegetScopeType()Reflects the scope of the resource limit, whether Global (across all regions), regional, or availability domain-specific.StringgetServiceName()The service name of the limit.List<String>getSupportedQuotaFamilies()Supported quota family names for creation of quota policy.List<String>getSupportedSubscriptions()An array of subscription types supported by the limit.inthashCode()LimitDefinitionSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
LimitDefinitionSummary@Deprecated @ConstructorProperties({"name","serviceName","description","scopeType","areQuotasSupported","isResourceAvailabilitySupported","isDeprecated","isEligibleForLimitIncrease","isDynamic","supportedSubscriptions","supportedQuotaFamilies"}) public LimitDefinitionSummary(String name, String serviceName, String description, LimitDefinitionSummary.ScopeType scopeType, Boolean areQuotasSupported, Boolean isResourceAvailabilitySupported, Boolean isDeprecated, Boolean isEligibleForLimitIncrease, Boolean isDynamic, List<String> supportedSubscriptions, List<String> supportedQuotaFamilies) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static LimitDefinitionSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic LimitDefinitionSummary.Builder toBuilder() 
 - 
getNamepublic String getName() The resource limit name.To be used for writing policies (in case of quotas) or other programmatic calls. - Returns:
- the value
 
 - 
getServiceNamepublic String getServiceName() The service name of the limit.- Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() The limit description.- Returns:
- the value
 
 - 
getScopeTypepublic LimitDefinitionSummary.ScopeType getScopeType() Reflects the scope of the resource limit, whether Global (across all regions), regional, or availability domain-specific.- Returns:
- the value
 
 - 
getAreQuotasSupportedpublic Boolean getAreQuotasSupported() If true, quota policies can be created on top of this resource limit.- Returns:
- the value
 
 - 
getIsResourceAvailabilitySupportedpublic Boolean getIsResourceAvailabilitySupported() Reflects whether or not the GetResourceAvailability API is supported for this limit.If not, the API returns an empty JSON response. - Returns:
- the value
 
 - 
getIsDeprecatedpublic Boolean getIsDeprecated() Indicates if the limit has been deprecated.- Returns:
- the value
 
 - 
getIsEligibleForLimitIncreasepublic Boolean getIsEligibleForLimitIncrease() Indicates if the customer can request a limit increase for this resource.- Returns:
- the value
 
 - 
getIsDynamicpublic Boolean getIsDynamic() The limit for this resource has a dynamic value that is based on consumption across all OCI services.- Returns:
- the value
 
 - 
getSupportedSubscriptionspublic List<String> getSupportedSubscriptions() An array of subscription types supported by the limit.e,g The type of subscription, such as ‘SAAS’, ‘ERP’, ‘CRM’. - Returns:
- the value
 
 - 
getSupportedQuotaFamiliespublic List<String> getSupportedQuotaFamilies() Supported quota family names for creation of quota policy.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-