Package com.oracle.bmc.opsi.model
Class DBExternalInstance
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.opsi.model.DatabaseConfigurationMetricGroup
- 
- com.oracle.bmc.opsi.model.DBExternalInstance
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class DBExternalInstance extends DatabaseConfigurationMetricGroupConfiguration parameters defined for external databases instance level.
 Note: Objects should always be created or deserialized using theDBExternalInstance.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 theDBExternalInstance.Builder, which maintain a set of all explicitly set fields calledDBExternalInstance.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 classDBExternalInstance.Builder- 
Nested classes/interfaces inherited from class com.oracle.bmc.opsi.model.DatabaseConfigurationMetricGroupDatabaseConfigurationMetricGroup.MetricName
 
- 
 - 
Constructor SummaryConstructors Constructor Description DBExternalInstance(Date timeCollected, String instanceName, String hostName, Integer cpuCount, Double hostMemoryCapacity, String version, String parallel, String instanceRole, String logins, String databaseStatus, String status, String edition, Date startupTime)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DBExternalInstance.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetCpuCount()Total number of CPUs allocated for the host.StringgetDatabaseStatus()Status of the database.StringgetEdition()The edition of the database.DoublegetHostMemoryCapacity()Total amount of usable Physical RAM Memory available in gigabytes.StringgetHostName()Host name of the database instance.StringgetInstanceName()Name of the database instance.StringgetInstanceRole()Role (permissions) of the database instance.StringgetLogins()Indicates if logins are allowed or restricted.StringgetParallel()Indicates whether the instance is mounted in cluster database mode (YES) or not (NO).DategetStartupTime()Start up time of the database instance.StringgetStatus()Status of the instance.StringgetVersion()Database version.inthashCode()DBExternalInstance.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.opsi.model.DatabaseConfigurationMetricGroupgetTimeCollected
 
- 
 
- 
- 
- 
Constructor Detail- 
DBExternalInstance@Deprecated public DBExternalInstance(Date timeCollected, String instanceName, String hostName, Integer cpuCount, Double hostMemoryCapacity, String version, String parallel, String instanceRole, String logins, String databaseStatus, String status, String edition, Date startupTime) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static DBExternalInstance.Builder builder() Create a new builder.
 - 
toBuilderpublic DBExternalInstance.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
 
 - 
getCpuCountpublic Integer getCpuCount() Total number of CPUs allocated for the host.- Returns:
- the value
 
 - 
getHostMemoryCapacitypublic Double getHostMemoryCapacity() Total amount of usable Physical RAM Memory available in gigabytes.- Returns:
- the value
 
 - 
getVersionpublic String getVersion() Database version.- Returns:
- the value
 
 - 
getParallelpublic String getParallel() Indicates whether the instance is mounted in cluster database mode (YES) or not (NO).- Returns:
- the value
 
 - 
getInstanceRolepublic String getInstanceRole() Role (permissions) of the database instance.- Returns:
- the value
 
 - 
getLoginspublic String getLogins() Indicates if logins are allowed or restricted.- Returns:
- the value
 
 - 
getDatabaseStatuspublic String getDatabaseStatus() Status of the database.- Returns:
- the value
 
 - 
getStatuspublic String getStatus() Status of the instance.- Returns:
- the value
 
 - 
getEditionpublic String getEdition() The edition of the database.- Returns:
- the value
 
 - 
getStartupTimepublic Date getStartupTime() Start up time of the database instance.- 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
 
 
- 
 
-