@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 the DBExternalInstance.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 the DBExternalInstance.Builder
, which maintain a
set of all explicitly set fields called DBExternalInstance.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
DBExternalInstance.Builder |
DatabaseConfigurationMetricGroup.MetricName
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and 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.
|
getTimeCollected
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@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)
public static DBExternalInstance.Builder builder()
Create a new builder.
public DBExternalInstance.Builder toBuilder()
public String getInstanceName()
Name of the database instance.
public String getHostName()
Host name of the database instance.
public Integer getCpuCount()
Total number of CPUs allocated for the host.
public Double getHostMemoryCapacity()
Total amount of usable Physical RAM Memory available in gigabytes.
public String getVersion()
Database version.
public String getParallel()
Indicates whether the instance is mounted in cluster database mode (YES) or not (NO).
public String getInstanceRole()
Role (permissions) of the database instance.
public String getLogins()
Indicates if logins are allowed or restricted.
public String getDatabaseStatus()
Status of the database.
public String getStatus()
Status of the instance.
public String getEdition()
The edition of the database.
public Date getStartupTime()
Start up time of the database instance.
public String toString()
toString
in class DatabaseConfigurationMetricGroup
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class DatabaseConfigurationMetricGroup
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class DatabaseConfigurationMetricGroup
public int hashCode()
hashCode
in class DatabaseConfigurationMetricGroup
Copyright © 2016–2024. All rights reserved.