@Generated(value="OracleSDKGenerator", comments="API Version: 20181025") public final class LimitValueSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The value of a specific resource limit.
Note: Objects should always be created or deserialized using the LimitValueSummary.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 LimitValueSummary.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 |
LimitValueSummary.Builder |
static class |
LimitValueSummary.ScopeType
The scope type of the limit.
|
Constructor and Description |
---|
LimitValueSummary(String name,
LimitValueSummary.ScopeType scopeType,
String availabilityDomain,
Long value)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static LimitValueSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAvailabilityDomain()
If present, the returned value is only specific to this availability domain.
|
String |
getName()
The resource limit name.
|
LimitValueSummary.ScopeType |
getScopeType()
The scope type of the limit.
|
Long |
getValue()
The resource limit value.
|
int |
hashCode() |
LimitValueSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"name","scopeType","availabilityDomain","value"}) public LimitValueSummary(String name, LimitValueSummary.ScopeType scopeType, String availabilityDomain, Long value)
public static LimitValueSummary.Builder builder()
Create a new builder.
public LimitValueSummary.Builder toBuilder()
public String getName()
The resource limit name. To be used for writing policies (in case of quotas) or other programmatic calls.
public LimitValueSummary.ScopeType getScopeType()
The scope type of the limit.
public String getAvailabilityDomain()
If present, the returned value is only specific to this availability domain.
public Long getValue()
The resource limit value.
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.