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 SummaryNested Classes Modifier and Type Class Description static classDBOSConfigInstance.Builder- 
Nested classes/interfaces inherited from class com.oracle.bmc.opsi.model.DatabaseConfigurationMetricGroupDatabaseConfigurationMetricGroup.MetricName
 
- 
 - 
Method SummaryAll 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.DatabaseConfigurationMetricGroupgetTimeCollected
 
- 
 
- 
- 
- 
Method Detail- 
builderpublic static DBOSConfigInstance.Builder builder() Create a new builder.
 - 
toBuilderpublic DBOSConfigInstance.Builder toBuilder() 
 - 
getInstanceNamepublic String getInstanceName() Name of the database instance.- Returns:
- the value
 
 - 
getHostNamepublic String getHostName() Host name of the database instance.- Returns:
- the value
 
 - 
getNumCPUspublic Integer getNumCPUs() Total number of CPUs available.- Returns:
- the value
 
 - 
getNumCPUCorespublic Integer getNumCPUCores() Number of CPU cores available (includes subcores of multicore CPUs as well as single-core CPUs).- Returns:
- the value
 
 - 
getNumCPUSocketspublic Integer getNumCPUSockets() Number of CPU Sockets available.- Returns:
- the value
 
 - 
getPhysicalMemoryBytespublic Double getPhysicalMemoryBytes() Total number of bytes of physical memory.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- DatabaseConfigurationMetricGroup
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- DatabaseConfigurationMetricGroup
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- DatabaseConfigurationMetricGroup
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- DatabaseConfigurationMetricGroup
 
 
- 
 
-