Package com.oracle.bmc.bds.model
Class Node.Builder
- java.lang.Object
- 
- com.oracle.bmc.bds.model.Node.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Node.BuilderattachedBlockVolumes(List<VolumeAttachmentDetail> attachedBlockVolumes)The list of block volumes attached to a given node.Node.BuilderavailabilityDomain(String availabilityDomain)The name of the availability domain in which the node is running.Nodebuild()Node.Buildercopy(Node model)Node.BuilderdisplayName(String displayName)The name of the node.Node.BuilderfaultDomain(String faultDomain)The name of the fault domain in which the node is running.Node.Builderhostname(String hostname)The fully-qualified hostname (FQDN) of the node.Node.BuilderimageId(String imageId)The OCID of the image from which the node was created.Node.BuilderinstanceId(String instanceId)The OCID of the underlying Oracle Cloud Infrastructure Compute instance.Node.BuilderipAddress(String ipAddress)IP address of the node.Node.BuilderisRebootRequired(Boolean isRebootRequired)Indicates if the node requires a reboot to either reflect the latest os kernel or take actions for maintenance reboot.Node.BuilderlifecycleState(Node.LifecycleState lifecycleState)The state of the node.Node.BuilderlocalDisksTotalSizeInGBs(Double localDisksTotalSizeInGBs)The aggregate size of all local disks, in gigabytes.Node.BuildermemoryInGBs(Integer memoryInGBs)The total amount of memory available to the node, in gigabytes.Node.BuildernodeBackupId(String nodeBackupId)The node back id that was used for replacing the node.Node.BuildernodeType(Node.NodeType nodeType)Cluster node type.Node.Buildernvmes(Integer nvmes)The number of NVMe drives to be used for storage.Node.Builderocpus(Integer ocpus)The total number of OCPUs available to the node.Node.BuilderodhVersion(String odhVersion)Version of the ODH (Oracle Distribution including Apache Hadoop) for the node.Node.BuilderosVersion(String osVersion)BDS-assigned Operating System version for the node.Node.Buildershape(String shape)Shape of the node.Node.BuildersshFingerprint(String sshFingerprint)The fingerprint of the SSH key used for node access.Node.BuildersubnetId(String subnetId)The OCID of the subnet in which the node is to be created.Node.BuildertimeCreated(Date timeCreated)The time the node was created, shown as an RFC 3339 formatted datetime string.Node.BuildertimeMaintenanceRebootDue(Date timeMaintenanceRebootDue)The date and time the instance is expected to be stopped / started, in the format defined by RFC3339.Node.BuildertimeReplaced(Date timeReplaced)The date and time the instance was replaced by a new vm with a node backup.Node.BuildertimeUpdated(Date timeUpdated)The time the cluster was updated, shown as an RFC 3339 formatted datetime string.
 
- 
- 
- 
Method Detail- 
instanceIdpublic Node.Builder instanceId(String instanceId) The OCID of the underlying Oracle Cloud Infrastructure Compute instance.- Parameters:
- instanceId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Node.Builder displayName(String displayName) The name of the node.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Node.Builder lifecycleState(Node.LifecycleState lifecycleState) The state of the node.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
nodeTypepublic Node.Builder nodeType(Node.NodeType nodeType) Cluster node type.- Parameters:
- nodeType- the value to set
- Returns:
- this builder
 
 - 
shapepublic Node.Builder shape(String shape) Shape of the node.- Parameters:
- shape- the value to set
- Returns:
- this builder
 
 - 
attachedBlockVolumespublic Node.Builder attachedBlockVolumes(List<VolumeAttachmentDetail> attachedBlockVolumes) The list of block volumes attached to a given node.- Parameters:
- attachedBlockVolumes- the value to set
- Returns:
- this builder
 
 - 
subnetIdpublic Node.Builder subnetId(String subnetId) The OCID of the subnet in which the node is to be created.- Parameters:
- subnetId- the value to set
- Returns:
- this builder
 
 - 
ipAddresspublic Node.Builder ipAddress(String ipAddress) IP address of the node.- Parameters:
- ipAddress- the value to set
- Returns:
- this builder
 
 - 
hostnamepublic Node.Builder hostname(String hostname) The fully-qualified hostname (FQDN) of the node.- Parameters:
- hostname- the value to set
- Returns:
- this builder
 
 - 
imageIdpublic Node.Builder imageId(String imageId) The OCID of the image from which the node was created.- Parameters:
- imageId- the value to set
- Returns:
- this builder
 
 - 
sshFingerprintpublic Node.Builder sshFingerprint(String sshFingerprint) The fingerprint of the SSH key used for node access.- Parameters:
- sshFingerprint- the value to set
- Returns:
- this builder
 
 - 
availabilityDomainpublic Node.Builder availabilityDomain(String availabilityDomain) The name of the availability domain in which the node is running.- Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
faultDomainpublic Node.Builder faultDomain(String faultDomain) The name of the fault domain in which the node is running.- Parameters:
- faultDomain- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Node.Builder timeCreated(Date timeCreated) The time the node was created, shown as an RFC 3339 formatted datetime string.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic Node.Builder timeUpdated(Date timeUpdated) The time the cluster was updated, shown as an RFC 3339 formatted datetime string.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
ocpuspublic Node.Builder ocpus(Integer ocpus) The total number of OCPUs available to the node.- Parameters:
- ocpus- the value to set
- Returns:
- this builder
 
 - 
memoryInGBspublic Node.Builder memoryInGBs(Integer memoryInGBs) The total amount of memory available to the node, in gigabytes.- Parameters:
- memoryInGBs- the value to set
- Returns:
- this builder
 
 - 
nvmespublic Node.Builder nvmes(Integer nvmes) The number of NVMe drives to be used for storage.A single drive has 6.8 TB available. - Parameters:
- nvmes- the value to set
- Returns:
- this builder
 
 - 
localDisksTotalSizeInGBspublic Node.Builder localDisksTotalSizeInGBs(Double localDisksTotalSizeInGBs) The aggregate size of all local disks, in gigabytes.If the instance does not have any local disks, this field is null. - Parameters:
- localDisksTotalSizeInGBs- the value to set
- Returns:
- this builder
 
 - 
timeMaintenanceRebootDuepublic Node.Builder timeMaintenanceRebootDue(Date timeMaintenanceRebootDue) The date and time the instance is expected to be stopped / started, in the format defined by RFC3339.- Parameters:
- timeMaintenanceRebootDue- the value to set
- Returns:
- this builder
 
 - 
osVersionpublic Node.Builder osVersion(String osVersion) BDS-assigned Operating System version for the node.- Parameters:
- osVersion- the value to set
- Returns:
- this builder
 
 - 
isRebootRequiredpublic Node.Builder isRebootRequired(Boolean isRebootRequired) Indicates if the node requires a reboot to either reflect the latest os kernel or take actions for maintenance reboot.- Parameters:
- isRebootRequired- the value to set
- Returns:
- this builder
 
 - 
odhVersionpublic Node.Builder odhVersion(String odhVersion) Version of the ODH (Oracle Distribution including Apache Hadoop) for the node.- Parameters:
- odhVersion- the value to set
- Returns:
- this builder
 
 - 
timeReplacedpublic Node.Builder timeReplaced(Date timeReplaced) The date and time the instance was replaced by a new vm with a node backup.- Parameters:
- timeReplaced- the value to set
- Returns:
- this builder
 
 - 
nodeBackupIdpublic Node.Builder nodeBackupId(String nodeBackupId) The node back id that was used for replacing the node.- Parameters:
- nodeBackupId- the value to set
- Returns:
- this builder
 
 - 
buildpublic Node build() 
 - 
copypublic Node.Builder copy(Node model) 
 
- 
 
-