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 DatabaseConfigurationMetricGroup
Configuration 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 Summary
Nested Classes Modifier and Type Class Description static class
DBExternalInstance.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.opsi.model.DatabaseConfigurationMetricGroup
DatabaseConfigurationMetricGroup.MetricName
-
-
Constructor Summary
Constructors 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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DBExternalInstance.Builder
builder()
Create a new builder.boolean
equals(Object o)
Integer
getCpuCount()
Total number of CPUs allocated for the host.String
getDatabaseStatus()
Status of the database.String
getEdition()
The edition of the database.Double
getHostMemoryCapacity()
Total amount of usable Physical RAM Memory available in gigabytes.String
getHostName()
Host name of the database instance.String
getInstanceName()
Name of the database instance.String
getInstanceRole()
Role (permissions) of the database instance.String
getLogins()
Indicates if logins are allowed or restricted.String
getParallel()
Indicates whether the instance is mounted in cluster database mode (YES) or not (NO).Date
getStartupTime()
Start up time of the database instance.String
getStatus()
Status of the instance.String
getVersion()
Database version.int
hashCode()
DBExternalInstance.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
-
-
-
-
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
-
builder
public static DBExternalInstance.Builder builder()
Create a new builder.
-
toBuilder
public DBExternalInstance.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
-
getCpuCount
public Integer getCpuCount()
Total number of CPUs allocated for the host.- Returns:
- the value
-
getHostMemoryCapacity
public Double getHostMemoryCapacity()
Total amount of usable Physical RAM Memory available in gigabytes.- Returns:
- the value
-
getVersion
public String getVersion()
Database version.- Returns:
- the value
-
getParallel
public String getParallel()
Indicates whether the instance is mounted in cluster database mode (YES) or not (NO).- Returns:
- the value
-
getInstanceRole
public String getInstanceRole()
Role (permissions) of the database instance.- Returns:
- the value
-
getLogins
public String getLogins()
Indicates if logins are allowed or restricted.- Returns:
- the value
-
getDatabaseStatus
public String getDatabaseStatus()
Status of the database.- Returns:
- the value
-
getStatus
public String getStatus()
Status of the instance.- Returns:
- the value
-
getEdition
public String getEdition()
The edition of the database.- Returns:
- the value
-
getStartupTime
public Date getStartupTime()
Start up time of the database instance.- 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
-
-