Package com.oracle.bmc.database.model
Class AutonomousVmClusterResourceUsage
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.AutonomousVmClusterResourceUsage
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AutonomousVmClusterResourceUsage extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Autonomous VM Cluster usage details, including the Autonomous Container Databases usage.
Note: Objects should always be created or deserialized using theAutonomousVmClusterResourceUsage.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 theAutonomousVmClusterResourceUsage.Builder
, which maintain a set of all explicitly set fields calledAutonomousVmClusterResourceUsage.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
AutonomousVmClusterResourceUsage.Builder
-
Constructor Summary
Constructors Constructor Description AutonomousVmClusterResourceUsage(String displayName, String id, Float autonomousDataStorageSizeInTBs, Integer dbNodeStorageSizeInGBs, Integer memorySizeInGBs, Integer totalContainerDatabases, Float availableAutonomousDataStorageSizeInTBs, Float usedAutonomousDataStorageSizeInTBs, Boolean isLocalBackupEnabled, Double exadataStorageInTBs, Integer memoryPerOracleComputeUnitInGBs, Float totalCpus, Float usedCpus, Float availableCpus, Float reclaimableCpus, Float provisionedCpus, Float reservedCpus, Integer provisionableAutonomousContainerDatabases, Integer provisionedAutonomousContainerDatabases, Integer nonProvisionableAutonomousContainerDatabases, List<AutonomousVmResourceUsage> autonomousVmResourceUsage)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutonomousVmClusterResourceUsage.Builder
builder()
Create a new builder.boolean
equals(Object o)
Float
getAutonomousDataStorageSizeInTBs()
The data disk group size allocated for Autonomous Databases, in TBs.List<AutonomousVmResourceUsage>
getAutonomousVmResourceUsage()
List of autonomous vm cluster resource usages.Float
getAvailableAutonomousDataStorageSizeInTBs()
The data disk group size available for Autonomous Databases, in TBs.Float
getAvailableCpus()
The number of CPU cores available.Integer
getDbNodeStorageSizeInGBs()
The local node storage allocated in GBs.String
getDisplayName()
The user-friendly name for the Autonomous VM cluster.Double
getExadataStorageInTBs()
Total exadata storage allocated for the Autonomous VM Cluster.String
getId()
The OCID of the Autonomous VM cluster.Boolean
getIsLocalBackupEnabled()
If true, database backup on local Exadata storage is configured for the Autonomous VM cluster.Integer
getMemoryPerOracleComputeUnitInGBs()
The amount of memory (in GBs) to be enabled per each CPU core.Integer
getMemorySizeInGBs()
The memory allocated in GBs.Integer
getNonProvisionableAutonomousContainerDatabases()
The number of non-provisionable Autonomous Container Databases in an Autonomous VM Cluster.Integer
getProvisionableAutonomousContainerDatabases()
The number of provisionable Autonomous Container Databases in an Autonomous VM Cluster.Integer
getProvisionedAutonomousContainerDatabases()
The number of provisioned Autonomous Container Databases in an Autonomous VM Cluster.Float
getProvisionedCpus()
The number of CPUs provisioned in an Autonomous VM Cluster.Float
getReclaimableCpus()
CPU 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()
The number of CPUs reserved in an Autonomous VM Cluster.Integer
getTotalContainerDatabases()
The total number of Autonomous Container Databases that can be created.Float
getTotalCpus()
The number of CPU cores enabled on the Autonomous VM cluster.Float
getUsedAutonomousDataStorageSizeInTBs()
The data disk group size used for Autonomous Databases, in TBs.Float
getUsedCpus()
The number of CPU cores alloted to the Autonomous Container Databases in an Autonomous VM cluster.int
hashCode()
AutonomousVmClusterResourceUsage.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
AutonomousVmClusterResourceUsage
@Deprecated @ConstructorProperties({"displayName","id","autonomousDataStorageSizeInTBs","dbNodeStorageSizeInGBs","memorySizeInGBs","totalContainerDatabases","availableAutonomousDataStorageSizeInTBs","usedAutonomousDataStorageSizeInTBs","isLocalBackupEnabled","exadataStorageInTBs","memoryPerOracleComputeUnitInGBs","totalCpus","usedCpus","availableCpus","reclaimableCpus","provisionedCpus","reservedCpus","provisionableAutonomousContainerDatabases","provisionedAutonomousContainerDatabases","nonProvisionableAutonomousContainerDatabases","autonomousVmResourceUsage"}) public AutonomousVmClusterResourceUsage(String displayName, String id, Float autonomousDataStorageSizeInTBs, Integer dbNodeStorageSizeInGBs, Integer memorySizeInGBs, Integer totalContainerDatabases, Float availableAutonomousDataStorageSizeInTBs, Float usedAutonomousDataStorageSizeInTBs, Boolean isLocalBackupEnabled, Double exadataStorageInTBs, Integer memoryPerOracleComputeUnitInGBs, Float totalCpus, Float usedCpus, Float availableCpus, Float reclaimableCpus, Float provisionedCpus, Float reservedCpus, Integer provisionableAutonomousContainerDatabases, Integer provisionedAutonomousContainerDatabases, Integer nonProvisionableAutonomousContainerDatabases, List<AutonomousVmResourceUsage> autonomousVmResourceUsage)
Deprecated.
-
-
Method Detail
-
builder
public static AutonomousVmClusterResourceUsage.Builder builder()
Create a new builder.
-
toBuilder
public AutonomousVmClusterResourceUsage.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
The user-friendly name for the Autonomous VM cluster.The name does not need to be unique.
- Returns:
- the value
-
getAutonomousDataStorageSizeInTBs
public Float getAutonomousDataStorageSizeInTBs()
The data disk group size allocated for Autonomous Databases, in TBs.- Returns:
- the value
-
getDbNodeStorageSizeInGBs
public Integer getDbNodeStorageSizeInGBs()
The local node storage allocated in GBs.- Returns:
- the value
-
getMemorySizeInGBs
public Integer getMemorySizeInGBs()
The memory allocated in GBs.- Returns:
- the value
-
getTotalContainerDatabases
public Integer getTotalContainerDatabases()
The total number of Autonomous Container Databases that can be created.- Returns:
- the value
-
getAvailableAutonomousDataStorageSizeInTBs
public Float getAvailableAutonomousDataStorageSizeInTBs()
The data disk group size available for Autonomous Databases, in TBs.- Returns:
- the value
-
getUsedAutonomousDataStorageSizeInTBs
public Float getUsedAutonomousDataStorageSizeInTBs()
The data disk group size used for Autonomous Databases, in TBs.- Returns:
- the value
-
getIsLocalBackupEnabled
public Boolean getIsLocalBackupEnabled()
If true, database backup on local Exadata storage is configured for the Autonomous VM cluster.If false, database backup on local Exadata storage is not available in the Autonomous VM cluster.
- Returns:
- the value
-
getExadataStorageInTBs
public Double getExadataStorageInTBs()
Total exadata storage allocated for the Autonomous VM Cluster.DATA + RECOVERY + SPARSE + any overhead in TBs.
- Returns:
- the value
-
getMemoryPerOracleComputeUnitInGBs
public Integer getMemoryPerOracleComputeUnitInGBs()
The amount of memory (in GBs) to be enabled per each CPU core.- Returns:
- the value
-
getTotalCpus
public Float getTotalCpus()
The number of CPU cores enabled on the Autonomous VM cluster.- Returns:
- the value
-
getUsedCpus
public Float getUsedCpus()
The number of CPU cores alloted to the Autonomous Container Databases in an Autonomous VM cluster.- Returns:
- the value
-
getAvailableCpus
public Float getAvailableCpus()
The number of CPU cores available.- Returns:
- the value
-
getReclaimableCpus
public Float getReclaimableCpus()
CPU 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.
- Returns:
- the value
-
getProvisionedCpus
public Float getProvisionedCpus()
The number of CPUs provisioned in an Autonomous VM Cluster.- Returns:
- the value
-
getReservedCpus
public Float getReservedCpus()
The number of CPUs reserved in an Autonomous VM Cluster.- Returns:
- the value
-
getProvisionableAutonomousContainerDatabases
public Integer getProvisionableAutonomousContainerDatabases()
The number of provisionable Autonomous Container Databases in an Autonomous VM Cluster.- Returns:
- the value
-
getProvisionedAutonomousContainerDatabases
public Integer getProvisionedAutonomousContainerDatabases()
The number of provisioned Autonomous Container Databases in an Autonomous VM Cluster.- Returns:
- the value
-
getNonProvisionableAutonomousContainerDatabases
public Integer getNonProvisionableAutonomousContainerDatabases()
The number of non-provisionable Autonomous Container Databases in an Autonomous VM Cluster.- Returns:
- the value
-
getAutonomousVmResourceUsage
public List<AutonomousVmResourceUsage> getAutonomousVmResourceUsage()
List of autonomous vm cluster resource usages.- 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
-
-