@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DbNode extends Object
Note: Objects should always be created or deserialized using the DbNode.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 DbNode.Builder
, which maintain a set of all explicitly set fields called __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
DbNode.Builder |
static class |
DbNode.LifecycleState
The current state of the database node.
|
Constructor and Description |
---|
DbNode(String id,
String dbSystemId,
String vnicId,
String backupVnicId,
DbNode.LifecycleState lifecycleState,
String hostname,
String faultDomain,
Date timeCreated,
Integer softwareStorageSizeInGB)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DbNode.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getBackupVnicId()
The OCID of the backup VNIC.
|
String |
getDbSystemId()
The OCID of the DB system.
|
String |
getFaultDomain()
The name of the Fault Domain the instance is contained in.
|
String |
getHostname()
The host name for the database node.
|
String |
getId()
The OCID of the database node.
|
DbNode.LifecycleState |
getLifecycleState()
The current state of the database node.
|
Integer |
getSoftwareStorageSizeInGB()
The size (in GB) of the block storage volume allocation for the DB system.
|
Date |
getTimeCreated()
The date and time that the database node was created.
|
String |
getVnicId()
The OCID of the VNIC.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"id","dbSystemId","vnicId","backupVnicId","lifecycleState","hostname","faultDomain","timeCreated","softwareStorageSizeInGB"}) @Deprecated public DbNode(String id, String dbSystemId, String vnicId, String backupVnicId, DbNode.LifecycleState lifecycleState, String hostname, String faultDomain, Date timeCreated, Integer softwareStorageSizeInGB)
public static DbNode.Builder builder()
Create a new builder.
public DbNode.LifecycleState getLifecycleState()
The current state of the database node.
public String getHostname()
The host name for the database node.
public String getFaultDomain()
The name of the Fault Domain the instance is contained in.
public Date getTimeCreated()
The date and time that the database node was created.
public Integer getSoftwareStorageSizeInGB()
The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
Copyright © 2016–2020. All rights reserved.