@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DbNodeSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A server where Oracle Database software is running.
To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
*Warning:** Oracle recommends that you avoid using any confidential information when you
supply string values using the API.
Note: Objects should always be created or deserialized using the DbNodeSummary.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 DbNodeSummary.Builder
, which maintain a
set of all explicitly set fields called DbNodeSummary.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 |
DbNodeSummary.Builder |
static class |
DbNodeSummary.LifecycleState
The current state of the database node.
|
static class |
DbNodeSummary.MaintenanceType
The type of database node maintenance.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DbNodeSummary(String id,
String dbSystemId,
String vnicId,
String backupVnicId,
String hostIpId,
String backupIpId,
String vnic2Id,
String backupVnic2Id,
DbNodeSummary.LifecycleState lifecycleState,
String hostname,
String faultDomain,
Date timeCreated,
Integer softwareStorageSizeInGB,
DbNodeSummary.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.
|
Modifier and Type | Method and Description |
---|---|
static DbNodeSummary.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 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.
|
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 IP 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.
|
DbNodeSummary.LifecycleState |
getLifecycleState()
The current state of the database node.
|
DbNodeSummary.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() |
DbNodeSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","dbSystemId","vnicId","backupVnicId","hostIpId","backupIpId","vnic2Id","backupVnic2Id","lifecycleState","hostname","faultDomain","timeCreated","softwareStorageSizeInGB","maintenanceType","timeMaintenanceWindowStart","timeMaintenanceWindowEnd","additionalDetails","freeformTags","definedTags","lifecycleDetails","cpuCoreCount","memorySizeInGBs","dbNodeStorageSizeInGBs","totalCpuCoreCount","dbServerId"}) public DbNodeSummary(String id, String dbSystemId, String vnicId, String backupVnicId, String hostIpId, String backupIpId, String vnic2Id, String backupVnic2Id, DbNodeSummary.LifecycleState lifecycleState, String hostname, String faultDomain, Date timeCreated, Integer softwareStorageSizeInGB, DbNodeSummary.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)
public static DbNodeSummary.Builder builder()
Create a new builder.
public DbNodeSummary.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 DbNodeSummary.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 DbNodeSummary.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 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"}
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.
public String getLifecycleDetails()
Information about the current lifecycle state.
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 Integer getTotalCpuCoreCount()
The total number of CPU cores reserved on the Db node.
public String getDbServerId()
The OCID of the Exacc Db server associated with the database node.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.