Class DbNodeSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.database.model.DbNodeSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DbNodeSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelA 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.oracle.com/iaas/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 theDbNodeSummary.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 theDbNodeSummary.Builder, which maintain a set of all explicitly set fields calledDbNodeSummary.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 SummaryNested Classes Modifier and Type Class Description static classDbNodeSummary.Builderstatic classDbNodeSummary.ComputeModelThe compute model for Base Database Service.static classDbNodeSummary.LifecycleStateThe current state of the database node.static classDbNodeSummary.MaintenanceTypeThe type of database node maintenance.
 - 
Constructor SummaryConstructors Constructor Description DbNodeSummary(String id, String dbSystemId, String vnicId, String backupVnicId, String hostIpId, String backupIpId, String hostIpv6Id, String backupIpv6Id, 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, Map<String,Map<String,Object>> systemTags, String lifecycleDetails, Integer cpuCoreCount, Integer memorySizeInGBs, Integer dbNodeStorageSizeInGBs, Integer totalCpuCoreCount, String dbServerId, DbNodeSummary.ComputeModel computeModel, Integer computeCount)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbNodeSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAdditionalDetails()Additional information about the planned maintenance.StringgetBackupIpId()The OCID of the backup IPv4 address associated with the database node.StringgetBackupIpv6Id()The OCID of the backup IPv6 address associated with the database node.StringgetBackupVnic2Id()The OCID of the second backup VNIC.StringgetBackupVnicId()The OCID of the backup VNIC.IntegergetComputeCount()The number of compute servers for the DB system.DbNodeSummary.ComputeModelgetComputeModel()The compute model for Base Database Service.IntegergetCpuCoreCount()The number of CPU cores enabled on the Db node.IntegergetDbNodeStorageSizeInGBs()The allocated local node storage in GBs on the Db node.StringgetDbServerId()The OCID of the Exacc Db server associated with the database node.StringgetDbSystemId()The OCID of the DB system.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetFaultDomain()The name of the Fault Domain the instance is contained in.Map<String,String>getFreeformTags()Free-form tags for this resource.StringgetHostIpId()The OCID of the host IPv4 address associated with the database node.StringgetHostIpv6Id()The OCID of the host IPv6 address associated with the database node.StringgetHostname()The host name for the database node.StringgetId()The OCID of the database node.StringgetLifecycleDetails()Information about the current lifecycle state.DbNodeSummary.LifecycleStategetLifecycleState()The current state of the database node.DbNodeSummary.MaintenanceTypegetMaintenanceType()The type of database node maintenance.IntegergetMemorySizeInGBs()The allocated memory in GBs on the Db node.IntegergetSoftwareStorageSizeInGB()The size (in GB) of the block storage volume allocation for the DB system.Map<String,Map<String,Object>>getSystemTags()System tags for this resource.DategetTimeCreated()The date and time that the database node was created.DategetTimeMaintenanceWindowEnd()End date and time of maintenance window.DategetTimeMaintenanceWindowStart()Start date and time of maintenance window.IntegergetTotalCpuCoreCount()The total number of CPU cores reserved on the Db node.StringgetVnic2Id()The OCID of the second VNIC.StringgetVnicId()The OCID of the VNIC.inthashCode()DbNodeSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
DbNodeSummary@Deprecated @ConstructorProperties({"id","dbSystemId","vnicId","backupVnicId","hostIpId","backupIpId","hostIpv6Id","backupIpv6Id","vnic2Id","backupVnic2Id","lifecycleState","hostname","faultDomain","timeCreated","softwareStorageSizeInGB","maintenanceType","timeMaintenanceWindowStart","timeMaintenanceWindowEnd","additionalDetails","freeformTags","definedTags","systemTags","lifecycleDetails","cpuCoreCount","memorySizeInGBs","dbNodeStorageSizeInGBs","totalCpuCoreCount","dbServerId","computeModel","computeCount"}) public DbNodeSummary(String id, String dbSystemId, String vnicId, String backupVnicId, String hostIpId, String backupIpId, String hostIpv6Id, String backupIpv6Id, 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, Map<String,Map<String,Object>> systemTags, String lifecycleDetails, Integer cpuCoreCount, Integer memorySizeInGBs, Integer dbNodeStorageSizeInGBs, Integer totalCpuCoreCount, String dbServerId, DbNodeSummary.ComputeModel computeModel, Integer computeCount) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static DbNodeSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic DbNodeSummary.Builder toBuilder() 
 - 
getHostIpIdpublic String getHostIpId() The OCID of the host IPv4 address associated with the database node.Use this OCID with either the getPrivateIpor thegetPublicIpByPrivateIpIdAPI to get the IPv4 address needed to make a database connection.*Note:** Applies only to Exadata Cloud Service. - Returns:
- the value
 
 - 
getBackupIpIdpublic String getBackupIpId() The OCID of the backup IPv4 address associated with the database node.Use this OCID with either the getPrivateIpor thegetPublicIpByPrivateIpIdAPI to get the IPv4 address needed to make a database connection.*Note:** Applies only to Exadata Cloud Service. - Returns:
- the value
 
 - 
getHostIpv6Idpublic String getHostIpv6Id() The OCID of the host IPv6 address associated with the database node.Use this OCID with the getIpv6API to get the IPv6 address needed to make a database connection.*Note:** Applies only to Exadata Cloud Service. - Returns:
- the value
 
 - 
getBackupIpv6Idpublic String getBackupIpv6Id() The OCID of the backup IPv6 address associated with the database node.Use this OCID with the getIpv6API to get the IPv6 address needed to make a database connection.*Note:** Applies only to Exadata Cloud Service. - Returns:
- the value
 
 - 
getVnic2Idpublic String getVnic2Id() The OCID of the second VNIC.*Note:** Applies only to Exadata Cloud Service. - Returns:
- the value
 
 - 
getBackupVnic2Idpublic String getBackupVnic2Id() The OCID of the second backup VNIC.*Note:** Applies only to Exadata Cloud Service. - Returns:
- the value
 
 - 
getLifecycleStatepublic DbNodeSummary.LifecycleState getLifecycleState() The current state of the database node.- Returns:
- the value
 
 - 
getHostnamepublic String getHostname() The host name for the database node.- Returns:
- the value
 
 - 
getFaultDomainpublic String getFaultDomain() The name of the Fault Domain the instance is contained in.- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The date and time that the database node was created.- Returns:
- the value
 
 - 
getSoftwareStorageSizeInGBpublic 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
 
 - 
getMaintenanceTypepublic DbNodeSummary.MaintenanceType getMaintenanceType() The type of database node maintenance.- Returns:
- the value
 
 - 
getTimeMaintenanceWindowStartpublic Date getTimeMaintenanceWindowStart() Start date and time of maintenance window.- Returns:
- the value
 
 - 
getTimeMaintenanceWindowEndpublic Date getTimeMaintenanceWindowEnd() End date and time of maintenance window.- Returns:
- the value
 
 - 
getAdditionalDetailspublic String getAdditionalDetails() Additional information about the planned maintenance.- Returns:
- the value
 
 - 
getFreeformTagspublic 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
 
 - 
getDefinedTagspublic 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
 
 - 
getSystemTagspublic Map<String,Map<String,Object>> getSystemTags() System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. - Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() Information about the current lifecycle state.- Returns:
- the value
 
 - 
getCpuCoreCountpublic Integer getCpuCoreCount() The number of CPU cores enabled on the Db node.- Returns:
- the value
 
 - 
getMemorySizeInGBspublic Integer getMemorySizeInGBs() The allocated memory in GBs on the Db node.- Returns:
- the value
 
 - 
getDbNodeStorageSizeInGBspublic Integer getDbNodeStorageSizeInGBs() The allocated local node storage in GBs on the Db node.- Returns:
- the value
 
 - 
getTotalCpuCoreCountpublic Integer getTotalCpuCoreCount() The total number of CPU cores reserved on the Db node.- Returns:
- the value
 
 - 
getDbServerIdpublic String getDbServerId() The OCID of the Exacc Db server associated with the database node.- Returns:
- the value
 
 - 
getComputeModelpublic DbNodeSummary.ComputeModel getComputeModel() The compute model for Base Database Service.This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy. - Returns:
- the value
 
 - 
getComputeCountpublic Integer getComputeCount() The number of compute servers for the DB system.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-