@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
).
Modifier and Type | Class and Description |
---|---|
static class |
Node.Builder |
static class |
Node.LifecycleState
The state of the node.
|
static class |
Node.NodeType
Cluster node type.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
Node(String instanceId,
String displayName,
Node.LifecycleState lifecycleState,
Node.NodeType nodeType,
String shape,
List<VolumeAttachmentDetail> attachedBlockVolumes,
String subnetId,
String ipAddress,
String hostname,
String imageId,
String sshFingerprint,
String availabilityDomain,
String faultDomain,
Date timeCreated,
Date timeUpdated,
Integer ocpus,
Integer memoryInGBs,
Integer nvmes,
Double localDisksTotalSizeInGBs,
Date timeMaintenanceRebootDue,
String osVersion,
Boolean isRebootRequired,
String odhVersion,
Date timeReplaced,
String nodeBackupId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Node.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<VolumeAttachmentDetail> |
getAttachedBlockVolumes()
The list of block volumes attached to a given node.
|
String |
getAvailabilityDomain()
The name of the availability domain in which the node is running.
|
String |
getDisplayName()
The name of the node.
|
String |
getFaultDomain()
The name of the fault domain in which the node is running.
|
String |
getHostname()
The fully-qualified hostname (FQDN) of the node.
|
String |
getImageId()
The OCID of the image from which the node was created.
|
String |
getInstanceId()
The OCID of the underlying Oracle Cloud Infrastructure Compute instance.
|
String |
getIpAddress()
IP address of the node.
|
Boolean |
getIsRebootRequired()
Indicates if the node requires a reboot to either reflect the latest os kernel or take
actions for maintenance reboot.
|
Node.LifecycleState |
getLifecycleState()
The state of the node.
|
Double |
getLocalDisksTotalSizeInGBs()
The aggregate size of all local disks, in gigabytes.
|
Integer |
getMemoryInGBs()
The total amount of memory available to the node, in gigabytes.
|
String |
getNodeBackupId()
The node back id that was used for replacing the node.
|
Node.NodeType |
getNodeType()
Cluster node type.
|
Integer |
getNvmes()
The number of NVMe drives to be used for storage.
|
Integer |
getOcpus()
The total number of OCPUs available to the node.
|
String |
getOdhVersion()
Version of the ODH (Oracle Distribution including Apache Hadoop) for the node.
|
String |
getOsVersion()
BDS-assigned Operating System version for the node.
|
String |
getShape()
Shape of the node.
|
String |
getSshFingerprint()
The fingerprint of the SSH key used for node access.
|
String |
getSubnetId()
The OCID of the subnet in which the node is to be created.
|
Date |
getTimeCreated()
The time the node was created, shown as an RFC 3339 formatted datetime string.
|
Date |
getTimeMaintenanceRebootDue()
The date and time the instance is expected to be stopped / started, in the format defined by
RFC3339.
|
Date |
getTimeReplaced()
The date and time the instance was replaced by a new vm with a node backup.
|
Date |
getTimeUpdated()
The time the cluster was updated, shown as an RFC 3339 formatted datetime string.
|
int |
hashCode() |
Node.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"instanceId","displayName","lifecycleState","nodeType","shape","attachedBlockVolumes","subnetId","ipAddress","hostname","imageId","sshFingerprint","availabilityDomain","faultDomain","timeCreated","timeUpdated","ocpus","memoryInGBs","nvmes","localDisksTotalSizeInGBs","timeMaintenanceRebootDue","osVersion","isRebootRequired","odhVersion","timeReplaced","nodeBackupId"}) public Node(String instanceId, String displayName, Node.LifecycleState lifecycleState, Node.NodeType nodeType, String shape, List<VolumeAttachmentDetail> attachedBlockVolumes, String subnetId, String ipAddress, String hostname, String imageId, String sshFingerprint, String availabilityDomain, String faultDomain, Date timeCreated, Date timeUpdated, Integer ocpus, Integer memoryInGBs, Integer nvmes, Double localDisksTotalSizeInGBs, Date timeMaintenanceRebootDue, String osVersion, Boolean isRebootRequired, String odhVersion, Date timeReplaced, String nodeBackupId)
public static Node.Builder builder()
Create a new builder.
public Node.Builder toBuilder()
public String getInstanceId()
The OCID of the underlying Oracle Cloud Infrastructure Compute instance.
public String getDisplayName()
The name of the node.
public Node.LifecycleState getLifecycleState()
The state of the node.
public Node.NodeType getNodeType()
Cluster node type.
public String getShape()
Shape of the node.
public List<VolumeAttachmentDetail> getAttachedBlockVolumes()
The list of block volumes attached to a given node.
public String getSubnetId()
The OCID of the subnet in which the node is to be created.
public String getIpAddress()
IP address of the node.
public String getHostname()
The fully-qualified hostname (FQDN) of the node.
public String getImageId()
The OCID of the image from which the node was created.
public String getSshFingerprint()
The fingerprint of the SSH key used for node access.
public String getAvailabilityDomain()
The name of the availability domain in which the node is running.
public String getFaultDomain()
The name of the fault domain in which the node is running.
public Date getTimeCreated()
The time the node was created, shown as an RFC 3339 formatted datetime string.
public Date getTimeUpdated()
The time the cluster was updated, shown as an RFC 3339 formatted datetime string.
public Integer getOcpus()
The total number of OCPUs available to the node.
public Integer getMemoryInGBs()
The total amount of memory available to the node, in gigabytes.
public Integer getNvmes()
The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
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.
public Date getTimeMaintenanceRebootDue()
The date and time the instance is expected to be stopped / started, in the format defined by RFC3339.
public String getOsVersion()
BDS-assigned Operating System version for the node.
public Boolean getIsRebootRequired()
Indicates if the node requires a reboot to either reflect the latest os kernel or take actions for maintenance reboot.
public String getOdhVersion()
Version of the ODH (Oracle Distribution including Apache Hadoop) for the node.
public Date getTimeReplaced()
The date and time the instance was replaced by a new vm with a node backup.
public String getNodeBackupId()
The node back id that was used for replacing the 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.