Class DbNodeSummary

java.lang.Object
software.amazon.awssdk.services.odb.model.DbNodeSummary
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<DbNodeSummary.Builder,DbNodeSummary>

@Generated("software.amazon.awssdk:codegen") public final class DbNodeSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DbNodeSummary.Builder,DbNodeSummary>

Information about a DB node.

See Also:
  • Method Details

    • dbNodeId

      public final String dbNodeId()

      The unique identifier of the DB node.

      Returns:
      The unique identifier of the DB node.
    • dbNodeArn

      public final String dbNodeArn()

      The Amazon Resource Name (ARN) of the DB node.

      Returns:
      The Amazon Resource Name (ARN) of the DB node.
    • status

      public final DbNodeResourceStatus status()

      The current status of the DB node.

      If the service returns an enum value that is not available in the current SDK version, status will return DbNodeResourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The current status of the DB node.
      See Also:
    • statusAsString

      public final String statusAsString()

      The current status of the DB node.

      If the service returns an enum value that is not available in the current SDK version, status will return DbNodeResourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The current status of the DB node.
      See Also:
    • statusReason

      public final String statusReason()

      Additional information about the status of the DB node.

      Returns:
      Additional information about the status of the DB node.
    • additionalDetails

      public final String additionalDetails()

      Additional information about the planned maintenance.

      Returns:
      Additional information about the planned maintenance.
    • backupIpId

      public final String backupIpId()

      The Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.

      Returns:
      The Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
    • backupVnic2Id

      public final String backupVnic2Id()

      The OCID of the second backup virtual network interface card (VNIC) for the DB node.

      Returns:
      The OCID of the second backup virtual network interface card (VNIC) for the DB node.
    • backupVnicId

      public final String backupVnicId()

      The OCID of the backup VNIC for the DB node.

      Returns:
      The OCID of the backup VNIC for the DB node.
    • cpuCoreCount

      public final Integer cpuCoreCount()

      The number of CPU cores enabled on the DB node.

      Returns:
      The number of CPU cores enabled on the DB node.
    • dbNodeStorageSizeInGBs

      public final Integer dbNodeStorageSizeInGBs()

      The amount of local node storage, in gigabytes (GB), that's allocated on the DB node.

      Returns:
      The amount of local node storage, in gigabytes (GB), that's allocated on the DB node.
    • dbServerId

      public final String dbServerId()

      The unique identifier of the database server that's associated with the DB node.

      Returns:
      The unique identifier of the database server that's associated with the DB node.
    • dbSystemId

      public final String dbSystemId()

      The OCID of the DB system.

      Returns:
      The OCID of the DB system.
    • faultDomain

      public final String faultDomain()

      The name of the fault domain where the DB node is located.

      Returns:
      The name of the fault domain where the DB node is located.
    • hostIpId

      public final String hostIpId()

      The OCID of the host IP address that's associated with the DB node.

      Returns:
      The OCID of the host IP address that's associated with the DB node.
    • hostname

      public final String hostname()

      The host name for the DB node.

      Returns:
      The host name for the DB node.
    • ocid

      public final String ocid()

      The OCID of the DB node.

      Returns:
      The OCID of the DB node.
    • ociResourceAnchorName

      public final String ociResourceAnchorName()

      The name of the OCI resource anchor for the DB node.

      Returns:
      The name of the OCI resource anchor for the DB node.
    • maintenanceType

      public final DbNodeMaintenanceType maintenanceType()

      The type of maintenance the DB node.

      If the service returns an enum value that is not available in the current SDK version, maintenanceType will return DbNodeMaintenanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from maintenanceTypeAsString().

      Returns:
      The type of maintenance the DB node.
      See Also:
    • maintenanceTypeAsString

      public final String maintenanceTypeAsString()

      The type of maintenance the DB node.

      If the service returns an enum value that is not available in the current SDK version, maintenanceType will return DbNodeMaintenanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from maintenanceTypeAsString().

      Returns:
      The type of maintenance the DB node.
      See Also:
    • memorySizeInGBs

      public final Integer memorySizeInGBs()

      The amount of memory, in gigabytes (GB), that allocated on the DB node.

      Returns:
      The amount of memory, in gigabytes (GB), that allocated on the DB node.
    • softwareStorageSizeInGB

      public final Integer softwareStorageSizeInGB()

      The size of the block storage volume, in gigabytes (GB), that's allocated for the DB system. This attribute applies only for virtual machine DB systems.

      Returns:
      The size of the block storage volume, in gigabytes (GB), that's allocated for the DB system. This attribute applies only for virtual machine DB systems.
    • createdAt

      public final Instant createdAt()

      The date and time when the DB node was created.

      Returns:
      The date and time when the DB node was created.
    • timeMaintenanceWindowEnd

      public final String timeMaintenanceWindowEnd()

      The end date and time of the maintenance window.

      Returns:
      The end date and time of the maintenance window.
    • timeMaintenanceWindowStart

      public final String timeMaintenanceWindowStart()

      The start date and time of the maintenance window.

      Returns:
      The start date and time of the maintenance window.
    • totalCpuCoreCount

      public final Integer totalCpuCoreCount()

      The total number of CPU cores reserved on the DB node.

      Returns:
      The total number of CPU cores reserved on the DB node.
    • vnic2Id

      public final String vnic2Id()

      The OCID of the second VNIC.

      Returns:
      The OCID of the second VNIC.
    • vnicId

      public final String vnicId()

      The OCID of the VNIC.

      Returns:
      The OCID of the VNIC.
    • toBuilder

      public DbNodeSummary.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<DbNodeSummary.Builder,DbNodeSummary>
      Returns:
      a builder for type T
    • builder

      public static DbNodeSummary.Builder builder()
    • serializableBuilderClass

      public static Class<? extends DbNodeSummary.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.