Class DbNode
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.DbNode
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DbNode extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Note: Objects should always be created or deserialized using theDbNode.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 calledDbNode.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
DbNode.Builder
static class
DbNode.LifecycleState
The current state of the database node.static class
DbNode.MaintenanceType
The type of database node maintenance.
-
Constructor Summary
Constructors Constructor Description DbNode(String id, String dbSystemId, String vnicId, String backupVnicId, String hostIpId, String backupIpId, String hostIpv6Id, String backupIpv6Id, String vnic2Id, String backupVnic2Id, DbNode.LifecycleState lifecycleState, String hostname, String faultDomain, Date timeCreated, Integer softwareStorageSizeInGB, DbNode.MaintenanceType maintenanceType, Date timeMaintenanceWindowStart, Date timeMaintenanceWindowEnd, String additionalDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String lifecycleDetails, Integer cpuCoreCount, Integer memorySizeInGBs, Integer dbNodeStorageSizeInGBs, Integer totalCpuCoreCount, String dbServerId)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbNode.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAdditionalDetails()
Additional information about the planned maintenance.String
getBackupIpId()
The OCID of the backup IPv4 address associated with the database node.String
getBackupIpv6Id()
The OCID of the backup IPv6 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.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.String
getFaultDomain()
The name of the Fault Domain the instance is contained in.Map<String,String>
getFreeformTags()
Free-form tags for this resource.String
getHostIpId()
The OCID of the host IPv4 address associated with the database node.String
getHostIpv6Id()
The OCID of the host IPv6 address associated with the database node.String
getHostname()
The host name for the database node.String
getId()
The OCID of the database node.String
getLifecycleDetails()
Information about the current lifecycle state.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.Integer
getTotalCpuCoreCount()
The total number of CPU cores reserved on the Db node.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.
-
-
-
Constructor Detail
-
DbNode
@Deprecated @ConstructorProperties({"id","dbSystemId","vnicId","backupVnicId","hostIpId","backupIpId","hostIpv6Id","backupIpv6Id","vnic2Id","backupVnic2Id","lifecycleState","hostname","faultDomain","timeCreated","softwareStorageSizeInGB","maintenanceType","timeMaintenanceWindowStart","timeMaintenanceWindowEnd","additionalDetails","freeformTags","definedTags","lifecycleDetails","cpuCoreCount","memorySizeInGBs","dbNodeStorageSizeInGBs","totalCpuCoreCount","dbServerId"}) public DbNode(String id, String dbSystemId, String vnicId, String backupVnicId, String hostIpId, String backupIpId, String hostIpv6Id, String backupIpv6Id, String vnic2Id, String backupVnic2Id, DbNode.LifecycleState lifecycleState, String hostname, String faultDomain, Date timeCreated, Integer softwareStorageSizeInGB, DbNode.MaintenanceType maintenanceType, Date timeMaintenanceWindowStart, Date timeMaintenanceWindowEnd, String additionalDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String lifecycleDetails, Integer cpuCoreCount, Integer memorySizeInGBs, Integer dbNodeStorageSizeInGBs, Integer totalCpuCoreCount, String dbServerId)
Deprecated.
-
-
Method Detail
-
builder
public static DbNode.Builder builder()
Create a new builder.
-
toBuilder
public DbNode.Builder toBuilder()
-
getHostIpId
public String getHostIpId()
The OCID of the host IPv4 address associated with the database node.Use this OCID with either the
getPrivateIp
or thegetPublicIpByPrivateIpId
API to get the IPv4 address needed to make a database connection.*Note:** Applies only to Exadata Cloud Service.
- Returns:
- the value
-
getBackupIpId
public String getBackupIpId()
The OCID of the backup IPv4 address associated with the database node.Use this OCID with either the
getPrivateIp
or thegetPublicIpByPrivateIpId
API to get the IPv4 address needed to make a database connection.*Note:** Applies only to Exadata Cloud Service.
- Returns:
- the value
-
getHostIpv6Id
public String getHostIpv6Id()
The OCID of the host IPv6 address associated with the database node.Use this OCID with the
getIpv6
API to get the IPv6 address needed to make a database connection.*Note:** Applies only to Exadata Cloud Service.
- Returns:
- the value
-
getBackupIpv6Id
public String getBackupIpv6Id()
The OCID of the backup IPv6 address associated with the database node.Use this OCID with the
getIpv6
API to get the IPv6 address needed to make a database connection.*Note:** Applies only to Exadata Cloud Service.
- Returns:
- the value
-
getVnic2Id
public String getVnic2Id()
The OCID of the second VNIC.*Note:** Applies only to Exadata Cloud Service.
- Returns:
- the value
-
getBackupVnic2Id
public String getBackupVnic2Id()
The OCID of the second backup VNIC.*Note:** Applies only to Exadata Cloud Service.
- Returns:
- the value
-
getLifecycleState
public DbNode.LifecycleState getLifecycleState()
The current state of the database node.- Returns:
- the value
-
getHostname
public String getHostname()
The host name for the database node.- Returns:
- the value
-
getFaultDomain
public String getFaultDomain()
The name of the Fault Domain the instance is contained in.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The date and time that the database node was created.- Returns:
- the value
-
getSoftwareStorageSizeInGB
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.
- Returns:
- the value
-
getMaintenanceType
public DbNode.MaintenanceType getMaintenanceType()
The type of database node maintenance.- Returns:
- the value
-
getTimeMaintenanceWindowStart
public Date getTimeMaintenanceWindowStart()
Start date and time of maintenance window.- Returns:
- the value
-
getTimeMaintenanceWindowEnd
public Date getTimeMaintenanceWindowEnd()
End date and time of maintenance window.- Returns:
- the value
-
getAdditionalDetails
public String getAdditionalDetails()
Additional information about the planned maintenance.- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
Information about the current lifecycle state.- Returns:
- the value
-
getCpuCoreCount
public Integer getCpuCoreCount()
The number of CPU cores enabled on the Db node.- Returns:
- the value
-
getMemorySizeInGBs
public Integer getMemorySizeInGBs()
The allocated memory in GBs on the Db node.- Returns:
- the value
-
getDbNodeStorageSizeInGBs
public Integer getDbNodeStorageSizeInGBs()
The allocated local node storage in GBs on the Db node.- Returns:
- the value
-
getTotalCpuCoreCount
public Integer getTotalCpuCoreCount()
The total number of CPU cores reserved on the Db node.- Returns:
- the value
-
getDbServerId
public String getDbServerId()
The OCID of the Exacc Db server associated with the database node.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-