@Generated(value="OracleSDKGenerator", comments="API Version: 20190531") public final class Node extends Object
Specific info 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
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(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
BDS instance node type
|
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)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Node.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
List<VolumeAttachmentDetail> |
getAttachedBlockVolumes()
The list of block volumes attached to a given node.
|
String |
getAvailabilityDomain()
The name of the availability domain the node is running in
|
String |
getDisplayName()
The name of the node
|
String |
getFaultDomain()
The name of the fault domain the node is running in
|
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 compute instance
|
String |
getIpAddress()
IP address of the node
|
Node.LifecycleState |
getLifecycleState()
The state of the node
|
Node.NodeType |
getNodeType()
BDS instance node type
|
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 should be created
|
Date |
getTimeCreated()
The time the node was created.
|
Date |
getTimeUpdated()
The time the BDS instance was updated.
|
int |
hashCode() |
Node.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"instanceId","displayName","lifecycleState","nodeType","shape","attachedBlockVolumes","subnetId","ipAddress","hostname","imageId","sshFingerprint","availabilityDomain","faultDomain","timeCreated","timeUpdated"}) @Deprecated 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)
public static Node.Builder builder()
Create a new builder.
public Node.Builder toBuilder()
public String getInstanceId()
The OCID of the underlying compute instance
public String getDisplayName()
The name of the node
public Node.LifecycleState getLifecycleState()
The state of the node
public Node.NodeType getNodeType()
BDS instance 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 should 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 the node is running in
public String getFaultDomain()
The name of the fault domain the node is running in
public Date getTimeCreated()
The time the node was created. An RFC3339 formatted datetime string
public Date getTimeUpdated()
The time the BDS instance was updated. An RFC3339 formatted datetime string
Copyright © 2016–2021. All rights reserved.