@Generated(value="OracleSDKGenerator", comments="API Version: 20190111") public final class ResourceQuotumSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The resource quota balance details.
Note: Objects should always be created or deserialized using the ResourceQuotumSummary.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 ResourceQuotumSummary.Builder
, which maintain a
set of all explicitly set fields called ResourceQuotumSummary.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
ResourceQuotumSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ResourceQuotumSummary(String name,
Boolean isAllowed,
Double limit,
Double balance,
Boolean isOverage,
Double purchasedLimit,
String service,
Boolean isDependency,
String affectedResource)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ResourceQuotumSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAffectedResource()
The affected resource name.
|
Double |
getBalance()
The quota balance.
|
Boolean |
getIsAllowed()
Used to indicate if further quota consumption isAllowed.
|
Boolean |
getIsDependency()
Used to indicate any resource dependencies.
|
Boolean |
getIsOverage()
Used to indicate if overages are incurred.
|
Double |
getLimit()
The quota limit.
|
String |
getName()
The resource name.
|
Double |
getPurchasedLimit()
The purchased quota limit.
|
String |
getService()
The service name.
|
int |
hashCode() |
ResourceQuotumSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"name","isAllowed","limit","balance","isOverage","purchasedLimit","service","isDependency","affectedResource"}) public ResourceQuotumSummary(String name, Boolean isAllowed, Double limit, Double balance, Boolean isOverage, Double purchasedLimit, String service, Boolean isDependency, String affectedResource)
public static ResourceQuotumSummary.Builder builder()
Create a new builder.
public ResourceQuotumSummary.Builder toBuilder()
public String getName()
The resource name.
public Boolean getIsAllowed()
Used to indicate if further quota consumption isAllowed.
public Double getLimit()
The quota limit.
public Double getBalance()
The quota balance.
public Boolean getIsOverage()
Used to indicate if overages are incurred.
public Double getPurchasedLimit()
The purchased quota limit.
public String getService()
The service name.
public Boolean getIsDependency()
Used to indicate any resource dependencies.
public String getAffectedResource()
The affected resource name.
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–2024. All rights reserved.