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 DatabaseConfigurationMetricGroup
Configuration 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 class
DBOSConfigInstance.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.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getHostName()
Host name of the database instance.String
getInstanceName()
Name of the database instance.Integer
getNumCPUCores()
Number of CPU cores available (includes subcores of multicore CPUs as well as single-core CPUs).Integer
getNumCPUs()
Total number of CPUs available.Integer
getNumCPUSockets()
Number of CPU Sockets available.Double
getPhysicalMemoryBytes()
Total number of bytes of physical memory.int
hashCode()
DBOSConfigInstance.Builder
toBuilder()
String
toString()
String
toString(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:
toString
in classDatabaseConfigurationMetricGroup
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classDatabaseConfigurationMetricGroup
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classDatabaseConfigurationMetricGroup
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDatabaseConfigurationMetricGroup
-
-