@Generated(value="OracleSDKGenerator", comments="API Version: ") public final class LimitDefinitionSummary extends Object
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
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __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: which can be Global (across all regions), regional or ad specific.
|
Constructor and Description |
---|
LimitDefinitionSummary(String name,
String serviceName,
String description,
LimitDefinitionSummary.ScopeType scopeType,
Boolean areQuotasSupported,
Boolean isResourceAvailabilitySupported)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static LimitDefinitionSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Boolean |
getAreQuotasSupported()
If true, quota policies can be created on top of this resource limit.
|
String |
getDescription()
The limit description.
|
Boolean |
getIsResourceAvailabilitySupported()
Reflects if the GetResourceAvailability API is supported for this limit or not.
|
String |
getName()
The resource limit name.
|
LimitDefinitionSummary.ScopeType |
getScopeType()
Reflects the scope of the resource limit: which can be Global (across all regions), regional or ad specific.
|
String |
getServiceName()
The service name of the limit.
|
int |
hashCode() |
LimitDefinitionSummary.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"name","serviceName","description","scopeType","areQuotasSupported","isResourceAvailabilitySupported"}) @Deprecated public LimitDefinitionSummary(String name, String serviceName, String description, LimitDefinitionSummary.ScopeType scopeType, Boolean areQuotasSupported, Boolean isResourceAvailabilitySupported)
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: which can be Global (across all regions), regional or ad specific.
public Boolean getAreQuotasSupported()
If true, quota policies can be created on top of this resource limit.
public Boolean getIsResourceAvailabilitySupported()
Reflects if the GetResourceAvailability API is supported for this limit or not. If not, the API will return an empty JSON response.
Copyright © 2016–2021. All rights reserved.