Package com.oracle.bmc.opsi.model
Class DBOSConfigInstance
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.opsi.model.DatabaseConfigurationMetricGroup
-
- com.oracle.bmc.opsi.model.DBOSConfigInstance
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class DBOSConfigInstance extends DatabaseConfigurationMetricGroupConfiguration parameters defined for external databases instance level.
Note: Objects should always be created or deserialized using theDBOSConfigInstance.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 theDBOSConfigInstance.Builder, which maintain a set of all explicitly set fields calledDBOSConfigInstance.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 classDBOSConfigInstance.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.opsi.model.DatabaseConfigurationMetricGroup
DatabaseConfigurationMetricGroup.MetricName
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DBOSConfigInstance.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetHostName()Host name of the database instance.StringgetInstanceName()Name of the database instance.IntegergetNumCPUCores()Number of CPU cores available (includes subcores of multicore CPUs as well as single-core CPUs).IntegergetNumCPUs()Total number of CPUs available.IntegergetNumCPUSockets()Number of CPU Sockets available.DoublegetPhysicalMemoryBytes()Total number of bytes of physical memory.inthashCode()DBOSConfigInstance.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.opsi.model.DatabaseConfigurationMetricGroup
getTimeCollected
-
-
-
-
Method Detail
-
builder
public static DBOSConfigInstance.Builder builder()
Create a new builder.
-
toBuilder
public DBOSConfigInstance.Builder toBuilder()
-
getInstanceName
public String getInstanceName()
Name of the database instance.- Returns:
- the value
-
getHostName
public String getHostName()
Host name of the database instance.- Returns:
- the value
-
getNumCPUs
public Integer getNumCPUs()
Total number of CPUs available.- Returns:
- the value
-
getNumCPUCores
public Integer getNumCPUCores()
Number of CPU cores available (includes subcores of multicore CPUs as well as single-core CPUs).- Returns:
- the value
-
getNumCPUSockets
public Integer getNumCPUSockets()
Number of CPU Sockets available.- Returns:
- the value
-
getPhysicalMemoryBytes
public Double getPhysicalMemoryBytes()
Total number of bytes of physical memory.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classDatabaseConfigurationMetricGroup
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classDatabaseConfigurationMetricGroup- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classDatabaseConfigurationMetricGroup
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDatabaseConfigurationMetricGroup
-
-