Class Node


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20190531")
    public final class Node
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Details about a node.
    Note: Objects should always be created or deserialized using the Node.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 Node.Builder, which maintain a set of all explicitly set fields called Node.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).
    • Method Detail

      • builder

        public static Node.Builder builder()
        Create a new builder.
      • getInstanceId

        public String getInstanceId()
        The OCID of the underlying Oracle Cloud Infrastructure Compute instance.
        Returns:
        the value
      • getDisplayName

        public String getDisplayName()
        The name of the node.
        Returns:
        the value
      • getLifecycleState

        public Node.LifecycleState getLifecycleState()
        The state of the node.
        Returns:
        the value
      • getNodeType

        public Node.NodeType getNodeType()
        Cluster node type.
        Returns:
        the value
      • getShape

        public String getShape()
        Shape of the node.
        Returns:
        the value
      • getAttachedBlockVolumes

        public List<VolumeAttachmentDetail> getAttachedBlockVolumes()
        The list of block volumes attached to a given node.
        Returns:
        the value
      • getSubnetId

        public String getSubnetId()
        The OCID of the subnet in which the node is to be created.
        Returns:
        the value
      • getIpAddress

        public String getIpAddress()
        IP address of the node.
        Returns:
        the value
      • getHostname

        public String getHostname()
        The fully-qualified hostname (FQDN) of the node.
        Returns:
        the value
      • getImageId

        public String getImageId()
        The OCID of the image from which the node was created.
        Returns:
        the value
      • getSshFingerprint

        public String getSshFingerprint()
        The fingerprint of the SSH key used for node access.
        Returns:
        the value
      • getAvailabilityDomain

        public String getAvailabilityDomain()
        The name of the availability domain in which the node is running.
        Returns:
        the value
      • getFaultDomain

        public String getFaultDomain()
        The name of the fault domain in which the node is running.
        Returns:
        the value
      • getTimeCreated

        public Date getTimeCreated()
        The time the node was created, shown as an RFC 3339 formatted datetime string.
        Returns:
        the value
      • getTimeUpdated

        public Date getTimeUpdated()
        The time the cluster was updated, shown as an RFC 3339 formatted datetime string.
        Returns:
        the value
      • getOcpus

        public Integer getOcpus()
        The total number of OCPUs available to the node.
        Returns:
        the value
      • getMemoryInGBs

        public Integer getMemoryInGBs()
        The total amount of memory available to the node, in gigabytes.
        Returns:
        the value
      • getNvmes

        public Integer getNvmes()
        The number of NVMe drives to be used for storage.

        A single drive has 6.8 TB available.

        Returns:
        the value
      • getLocalDisksTotalSizeInGBs

        public Double getLocalDisksTotalSizeInGBs()
        The aggregate size of all local disks, in gigabytes.

        If the instance does not have any local disks, this field is null.

        Returns:
        the value
      • getTimeMaintenanceRebootDue

        public Date getTimeMaintenanceRebootDue()
        The date and time the instance is expected to be stopped / started, in the format defined by RFC3339.
        Returns:
        the value
      • getOsVersion

        public String getOsVersion()
        BDS-assigned Operating System version for the node.
        Returns:
        the value
      • getIsRebootRequired

        public Boolean getIsRebootRequired()
        Indicates if the node requires a reboot to either reflect the latest os kernel or take actions for maintenance reboot.
        Returns:
        the value
      • getOdhVersion

        public String getOdhVersion()
        Version of the ODH (Oracle Distribution including Apache Hadoop) for the node.
        Returns:
        the value
      • getTimeReplaced

        public Date getTimeReplaced()
        The date and time the instance was replaced by a new vm with a node backup.
        Returns:
        the value
      • getNodeBackupId

        public String getNodeBackupId()
        The node back id that was used for replacing the node.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel