@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DbNode extends Object
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.
|
static class |
DbNode.MaintenanceType
The type of database node maintenance.
|
Constructor and Description |
---|
DbNode(String id,
String dbSystemId,
String vnicId,
String backupVnicId,
String hostIpId,
String backupIpId,
String vnic2Id,
String backupVnic2Id,
DbNode.LifecycleState lifecycleState,
String hostname,
String faultDomain,
Date timeCreated,
Integer softwareStorageSizeInGB,
DbNode.MaintenanceType maintenanceType,
Date timeMaintenanceWindowStart,
Date timeMaintenanceWindowEnd,
String additionalDetails,
Integer cpuCoreCount,
Integer memorySizeInGBs,
Integer dbNodeStorageSizeInGBs,
String dbServerId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DbNode.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getAdditionalDetails()
Additional information about the planned maintenance.
|
String |
getBackupIpId()
The OCID of the backup IP address associated with the database node.
|
String |
getBackupVnic2Id()
The OCID of the second backup VNIC.
|
String |
getBackupVnicId()
The OCID of the backup VNIC.
|
Integer |
getCpuCoreCount()
The number of CPU cores enabled on the Db node.
|
Integer |
getDbNodeStorageSizeInGBs()
The allocated local node storage in GBs on the Db node.
|
String |
getDbServerId()
The OCID of the Exacc Db server associated with the database node.
|
String |
getDbSystemId()
The OCID of the DB system.
|
String |
getFaultDomain()
The name of the Fault Domain the instance is contained in.
|
String |
getHostIpId()
The OCID of the host IP address associated with the database node.
|
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.
|
DbNode.MaintenanceType |
getMaintenanceType()
The type of database node maintenance.
|
Integer |
getMemorySizeInGBs()
The allocated memory in GBs on the Db 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.
|
Date |
getTimeMaintenanceWindowEnd()
End date and time of maintenance window.
|
Date |
getTimeMaintenanceWindowStart()
Start date and time of maintenance window.
|
String |
getVnic2Id()
The OCID of the second VNIC.
|
String |
getVnicId()
The OCID of the VNIC.
|
int |
hashCode() |
DbNode.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
@Deprecated @ConstructorProperties(value={"id","dbSystemId","vnicId","backupVnicId","hostIpId","backupIpId","vnic2Id","backupVnic2Id","lifecycleState","hostname","faultDomain","timeCreated","softwareStorageSizeInGB","maintenanceType","timeMaintenanceWindowStart","timeMaintenanceWindowEnd","additionalDetails","cpuCoreCount","memorySizeInGBs","dbNodeStorageSizeInGBs","dbServerId"}) public DbNode(String id, String dbSystemId, String vnicId, String backupVnicId, String hostIpId, String backupIpId, String vnic2Id, String backupVnic2Id, DbNode.LifecycleState lifecycleState, String hostname, String faultDomain, Date timeCreated, Integer softwareStorageSizeInGB, DbNode.MaintenanceType maintenanceType, Date timeMaintenanceWindowStart, Date timeMaintenanceWindowEnd, String additionalDetails, Integer cpuCoreCount, Integer memorySizeInGBs, Integer dbNodeStorageSizeInGBs, String dbServerId)
public static DbNode.Builder builder()
Create a new builder.
public DbNode.Builder toBuilder()
public String getHostIpId()
The OCID of the host IP address associated with the database node. Use this OCID with either the
getPrivateIp
or the getPublicIpByPrivateIpId
API to get the IP address
needed to make a database connection.
Note:** Applies only to Exadata Cloud Service.
public String getBackupIpId()
The OCID of the backup IP address associated with the database node. Use this OCID with either the
getPrivateIp
or the getPublicIpByPrivateIpId
API to get the IP address
needed to make a database connection.
Note:** Applies only to Exadata Cloud Service.
public String getVnic2Id()
The OCID of the second VNIC.
Note:** Applies only to Exadata Cloud Service.
public String getBackupVnic2Id()
The OCID of the second backup VNIC.
Note:** Applies only to Exadata Cloud Service.
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.
public DbNode.MaintenanceType getMaintenanceType()
The type of database node maintenance.
public Date getTimeMaintenanceWindowStart()
Start date and time of maintenance window.
public Date getTimeMaintenanceWindowEnd()
End date and time of maintenance window.
public String getAdditionalDetails()
Additional information about the planned maintenance.
public Integer getCpuCoreCount()
The number of CPU cores enabled on the Db node.
public Integer getMemorySizeInGBs()
The allocated memory in GBs on the Db node.
public Integer getDbNodeStorageSizeInGBs()
The allocated local node storage in GBs on the Db node.
public String getDbServerId()
The OCID of the Exacc Db server associated with the database node.
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arraysCopyright © 2016–2022. All rights reserved.