Package com.oracle.bmc.database.model
Class AvmAcdResourceStats
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.database.model.AvmAcdResourceStats
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AvmAcdResourceStats extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelAssociated autonomous container databases usages.
 Note: Objects should always be created or deserialized using theAvmAcdResourceStats.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 theAvmAcdResourceStats.Builder, which maintain a set of all explicitly set fields calledAvmAcdResourceStats.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 SummaryNested Classes Modifier and Type Class Description static classAvmAcdResourceStats.Builder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AvmAcdResourceStats.Builderbuilder()Create a new builder.booleanequals(Object o)FloatgetAvailableCpus()The number of CPU cores available.StringgetDisplayName()The user-friendly name for the Autonomous Container Database.StringgetId()The OCID of the Autonomous Container Database.FloatgetProvisionedCpus()CPUs/cores assigned to Autonomous AI Databases in the ACD instances.FloatgetReclaimableCpus()CPUs/cores that continue to be included in the count of OCPUs available to the Autonomous Container Database even after one of its Autonomous AI Database is terminated or scaled down.FloatgetReservedCpus()CPUs/cores reserved for scalability, resilliency and other overheads.FloatgetUsedCpus()CPUs/cores assigned to the ACD instance.inthashCode()AvmAcdResourceStats.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
AvmAcdResourceStats@Deprecated @ConstructorProperties({"id","displayName","provisionedCpus","availableCpus","usedCpus","reservedCpus","reclaimableCpus"}) public AvmAcdResourceStats(String id, String displayName, Float provisionedCpus, Float availableCpus, Float usedCpus, Float reservedCpus, Float reclaimableCpus) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static AvmAcdResourceStats.Builder builder() Create a new builder.
 - 
toBuilderpublic AvmAcdResourceStats.Builder toBuilder() 
 - 
getDisplayNamepublic String getDisplayName() The user-friendly name for the Autonomous Container Database.The name does not need to be unique. - Returns:
- the value
 
 - 
getProvisionedCpuspublic Float getProvisionedCpus() CPUs/cores assigned to Autonomous AI Databases in the ACD instances.- Returns:
- the value
 
 - 
getAvailableCpuspublic Float getAvailableCpus() The number of CPU cores available.- Returns:
- the value
 
 - 
getUsedCpuspublic Float getUsedCpus() CPUs/cores assigned to the ACD instance.Sum of provisioned, reserved and reclaimable CPUs/ cores to the ACD instance. - Returns:
- the value
 
 - 
getReservedCpuspublic Float getReservedCpus() CPUs/cores reserved for scalability, resilliency and other overheads.This includes failover, autoscaling and idle instance overhead. - Returns:
- the value
 
 - 
getReclaimableCpuspublic 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 AI 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
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-