Package com.oracle.bmc.database.model
Class AcdAvmResourceStats
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.AcdAvmResourceStats
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AcdAvmResourceStats extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Resource usage by autonomous container database in a particular VM.
Note: Objects should always be created or deserialized using theAcdAvmResourceStats.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 theAcdAvmResourceStats.Builder
, which maintain a set of all explicitly set fields calledAcdAvmResourceStats.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AcdAvmResourceStats.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AcdAvmResourceStats.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getDisplayName()
The user-friendly name for the Autonomous VM.String
getId()
The OCID of the Autonomous VM.Float
getProvisionedCpus()
CPUs/cores assigned to Autonomous Databases for the ACD instance in given Autonomus VM.Float
getReclaimableCpus()
CPUs/cores that continue to be included in the count of OCPUs available to the Autonomous Container Database in given Autonomous VM, 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 in given Autonomous VM.int
hashCode()
AcdAvmResourceStats.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
AcdAvmResourceStats
@Deprecated @ConstructorProperties({"id","displayName","provisionedCpus","usedCpus","reservedCpus","reclaimableCpus"}) public AcdAvmResourceStats(String id, String displayName, Float provisionedCpus, Float usedCpus, Float reservedCpus, Float reclaimableCpus)
Deprecated.
-
-
Method Detail
-
builder
public static AcdAvmResourceStats.Builder builder()
Create a new builder.
-
toBuilder
public AcdAvmResourceStats.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
The user-friendly name for the Autonomous VM.The name does not need to be unique.
- Returns:
- the value
-
getProvisionedCpus
public Float getProvisionedCpus()
CPUs/cores assigned to Autonomous Databases for the ACD instance in given Autonomus VM.- Returns:
- the value
-
getUsedCpus
public Float getUsedCpus()
CPUs/cores assigned to the ACD instance in given Autonomous VM.Sum of provisioned, reserved and reclaimable CPUs/ cores to the ACD instance.
- Returns:
- the value
-
getReservedCpus
public Float getReservedCpus()
CPUs/cores reserved for scalability, resilliency and other overheads.This includes failover, autoscaling and idle instance overhead.
- Returns:
- the value
-
getReclaimableCpus
public Float getReclaimableCpus()
CPUs/cores that continue to be included in the count of OCPUs available to the Autonomous Container Database in given Autonomous VM, 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.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-