@Generated(value="OracleSDKGenerator", comments="API Version: 20181025") public final class LimitDefinitionSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The metadata specific to a resource limit definition.
Note: Objects should always be created or deserialized using the LimitDefinitionSummary.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 the LimitDefinitionSummary.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
LimitDefinitionSummary.Builder |
static class |
LimitDefinitionSummary.ScopeType
Reflects the scope of the resource limit, whether Global (across all regions), regional, or
availability domain-specific.
|
Constructor and Description |
---|
LimitDefinitionSummary(String name,
String serviceName,
String description,
LimitDefinitionSummary.ScopeType scopeType,
Boolean areQuotasSupported,
Boolean isResourceAvailabilitySupported,
Boolean isDeprecated,
Boolean isEligibleForLimitIncrease,
Boolean isDynamic)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static LimitDefinitionSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Boolean |
getAreQuotasSupported()
If true, quota policies can be created on top of this resource limit.
|
String |
getDescription()
The limit description.
|
Boolean |
getIsDeprecated()
Indicates if the limit has been deprecated.
|
Boolean |
getIsDynamic()
The limit for this resource has a dynamic value that is based on consumption across all OCI
services.
|
Boolean |
getIsEligibleForLimitIncrease()
Indicates if the customer can request a limit increase for this resource.
|
Boolean |
getIsResourceAvailabilitySupported()
Reflects whether or not the GetResourceAvailability API is supported for this limit.
|
String |
getName()
The resource limit name.
|
LimitDefinitionSummary.ScopeType |
getScopeType()
Reflects the scope of the resource limit, whether Global (across all regions), regional, or
availability domain-specific.
|
String |
getServiceName()
The service name of the limit.
|
int |
hashCode() |
LimitDefinitionSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"name","serviceName","description","scopeType","areQuotasSupported","isResourceAvailabilitySupported","isDeprecated","isEligibleForLimitIncrease","isDynamic"}) public LimitDefinitionSummary(String name, String serviceName, String description, LimitDefinitionSummary.ScopeType scopeType, Boolean areQuotasSupported, Boolean isResourceAvailabilitySupported, Boolean isDeprecated, Boolean isEligibleForLimitIncrease, Boolean isDynamic)
public static LimitDefinitionSummary.Builder builder()
Create a new builder.
public LimitDefinitionSummary.Builder toBuilder()
public String getName()
The resource limit name. To be used for writing policies (in case of quotas) or other programmatic calls.
public String getServiceName()
The service name of the limit.
public String getDescription()
The limit description.
public LimitDefinitionSummary.ScopeType getScopeType()
Reflects the scope of the resource limit, whether Global (across all regions), regional, or availability domain-specific.
public Boolean getAreQuotasSupported()
If true, quota policies can be created on top of this resource limit.
public Boolean getIsResourceAvailabilitySupported()
Reflects whether or not the GetResourceAvailability API is supported for this limit. If not, the API returns an empty JSON response.
public Boolean getIsDeprecated()
Indicates if the limit has been deprecated.
public Boolean getIsEligibleForLimitIncrease()
Indicates if the customer can request a limit increase for this resource.
public Boolean getIsDynamic()
The limit for this resource has a dynamic value that is based on consumption across all OCI services.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.