@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AvmAcdResourceStats extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Associated autonomous container databases usages.
Note: Objects should always be created or deserialized using the AvmAcdResourceStats.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 AvmAcdResourceStats.Builder
, which maintain a
set of all explicitly set fields called AvmAcdResourceStats.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 |
AvmAcdResourceStats.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AvmAcdResourceStats(String id,
String displayName,
Float provisionedCpus,
Float availableCpus,
Float usedCpus,
Float reservedCpus,
Float reclaimableCpus)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AvmAcdResourceStats.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Float |
getAvailableCpus()
The number of CPU cores available.
|
String |
getDisplayName()
The user-friendly name for the Autonomous Container Database.
|
String |
getId()
The OCID of the
Autonomous Container Database.
|
Float |
getProvisionedCpus()
CPUs/cores assigned to Autonomous Databases in the ACD instances.
|
Float |
getReclaimableCpus()
CPUs/cores that continue to be included in the count of OCPUs available to the Autonomous
Container Database even after one of its Autonomous Database is terminated or scaled down.
|
Float |
getReservedCpus()
CPUs/cores reserved for scalability, resilliency and other overheads.
|
Float |
getUsedCpus()
CPUs/cores assigned to the ACD instance.
|
int |
hashCode() |
AvmAcdResourceStats.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","displayName","provisionedCpus","availableCpus","usedCpus","reservedCpus","reclaimableCpus"}) public AvmAcdResourceStats(String id, String displayName, Float provisionedCpus, Float availableCpus, Float usedCpus, Float reservedCpus, Float reclaimableCpus)
public static AvmAcdResourceStats.Builder builder()
Create a new builder.
public AvmAcdResourceStats.Builder toBuilder()
public String getDisplayName()
The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
public Float getProvisionedCpus()
CPUs/cores assigned to Autonomous Databases in the ACD instances.
public Float getAvailableCpus()
The number of CPU cores available.
public Float getUsedCpus()
CPUs/cores assigned to the ACD instance. Sum of provisioned, reserved and reclaimable CPUs/ cores to the ACD instance.
public Float getReservedCpus()
CPUs/cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
public Float getReclaimableCpus()
CPUs/cores that continue to be included in the count of OCPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available OCPUs at its parent AVMC level by restarting the Autonomous Container Database.
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.