Package com.oracle.bmc.bds.model
Class Node
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.bds.model.Node
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20190531") public final class Node extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails about a node.
 Note: Objects should always be created or deserialized using theNode.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 theNode.Builder, which maintain a set of all explicitly set fields calledNode.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 classNode.Builderstatic classNode.LifecycleStateThe state of the node.static classNode.NodeTypeCluster node type.
 - 
Constructor SummaryConstructors Constructor 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.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Node.Builderbuilder()Create a new builder.booleanequals(Object o)List<VolumeAttachmentDetail>getAttachedBlockVolumes()The list of block volumes attached to a given node.StringgetAvailabilityDomain()The name of the availability domain in which the node is running.StringgetDisplayName()The name of the node.StringgetFaultDomain()The name of the fault domain in which the node is running.StringgetHostname()The fully-qualified hostname (FQDN) of the node.StringgetImageId()The OCID of the image from which the node was created.StringgetInstanceId()The OCID of the underlying Oracle Cloud Infrastructure Compute instance.StringgetIpAddress()IP address of the node.BooleangetIsRebootRequired()Indicates if the node requires a reboot to either reflect the latest os kernel or take actions for maintenance reboot.Node.LifecycleStategetLifecycleState()The state of the node.DoublegetLocalDisksTotalSizeInGBs()The aggregate size of all local disks, in gigabytes.IntegergetMemoryInGBs()The total amount of memory available to the node, in gigabytes.StringgetNodeBackupId()The node back id that was used for replacing the node.Node.NodeTypegetNodeType()Cluster node type.IntegergetNvmes()The number of NVMe drives to be used for storage.IntegergetOcpus()The total number of OCPUs available to the node.StringgetOdhVersion()Version of the ODH (Oracle Distribution including Apache Hadoop) for the node.StringgetOsVersion()BDS-assigned Operating System version for the node.StringgetShape()Shape of the node.StringgetSshFingerprint()The fingerprint of the SSH key used for node access.StringgetSubnetId()The OCID of the subnet in which the node is to be created.DategetTimeCreated()The time the node was created, shown as an RFC 3339 formatted datetime string.DategetTimeMaintenanceRebootDue()The date and time the instance is expected to be stopped / started, in the format defined by RFC3339.DategetTimeReplaced()The date and time the instance was replaced by a new vm with a node backup.DategetTimeUpdated()The time the cluster was updated, shown as an RFC 3339 formatted datetime string.inthashCode()Node.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
Node@Deprecated @ConstructorProperties({"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) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static Node.Builder builder() Create a new builder.
 - 
toBuilderpublic Node.Builder toBuilder() 
 - 
getInstanceIdpublic String getInstanceId() The OCID of the underlying Oracle Cloud Infrastructure Compute instance.- Returns:
- the value
 
 - 
getDisplayNamepublic String getDisplayName() The name of the node.- Returns:
- the value
 
 - 
getLifecycleStatepublic Node.LifecycleState getLifecycleState() The state of the node.- Returns:
- the value
 
 - 
getNodeTypepublic Node.NodeType getNodeType() Cluster node type.- Returns:
- the value
 
 - 
getShapepublic String getShape() Shape of the node.- Returns:
- the value
 
 - 
getAttachedBlockVolumespublic List<VolumeAttachmentDetail> getAttachedBlockVolumes() The list of block volumes attached to a given node.- Returns:
- the value
 
 - 
getSubnetIdpublic String getSubnetId() The OCID of the subnet in which the node is to be created.- Returns:
- the value
 
 - 
getIpAddresspublic String getIpAddress() IP address of the node.- Returns:
- the value
 
 - 
getHostnamepublic String getHostname() The fully-qualified hostname (FQDN) of the node.- Returns:
- the value
 
 - 
getImageIdpublic String getImageId() The OCID of the image from which the node was created.- Returns:
- the value
 
 - 
getSshFingerprintpublic String getSshFingerprint() The fingerprint of the SSH key used for node access.- Returns:
- the value
 
 - 
getAvailabilityDomainpublic String getAvailabilityDomain() The name of the availability domain in which the node is running.- Returns:
- the value
 
 - 
getFaultDomainpublic String getFaultDomain() The name of the fault domain in which the node is running.- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The time the node was created, shown as an RFC 3339 formatted datetime string.- Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The time the cluster was updated, shown as an RFC 3339 formatted datetime string.- Returns:
- the value
 
 - 
getOcpuspublic Integer getOcpus() The total number of OCPUs available to the node.- Returns:
- the value
 
 - 
getMemoryInGBspublic Integer getMemoryInGBs() The total amount of memory available to the node, in gigabytes.- Returns:
- the value
 
 - 
getNvmespublic Integer getNvmes() The number of NVMe drives to be used for storage.A single drive has 6.8 TB available. - Returns:
- the value
 
 - 
getLocalDisksTotalSizeInGBspublic 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
 
 - 
getTimeMaintenanceRebootDuepublic Date getTimeMaintenanceRebootDue() The date and time the instance is expected to be stopped / started, in the format defined by RFC3339.- Returns:
- the value
 
 - 
getOsVersionpublic String getOsVersion() BDS-assigned Operating System version for the node.- Returns:
- the value
 
 - 
getIsRebootRequiredpublic 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
 
 - 
getOdhVersionpublic String getOdhVersion() Version of the ODH (Oracle Distribution including Apache Hadoop) for the node.- Returns:
- the value
 
 - 
getTimeReplacedpublic Date getTimeReplaced() The date and time the instance was replaced by a new vm with a node backup.- Returns:
- the value
 
 - 
getNodeBackupIdpublic String getNodeBackupId() The node back id that was used for replacing the node.- 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
 
 
- 
 
-