public static class AddWorkerNodesDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AddWorkerNodesDetails.Builder |
blockVolumeSizeInGBs(Long blockVolumeSizeInGBs)
The size of block volume in GB to be attached to the given node.
|
AddWorkerNodesDetails |
build() |
AddWorkerNodesDetails.Builder |
clusterAdminPassword(String clusterAdminPassword)
Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
|
AddWorkerNodesDetails.Builder |
copy(AddWorkerNodesDetails model) |
AddWorkerNodesDetails.Builder |
nodeType(AddWorkerNodesDetails.NodeType nodeType)
Worker node types, can either be Worker Data node or Compute only worker node.
|
AddWorkerNodesDetails.Builder |
numberOfWorkerNodes(Integer numberOfWorkerNodes)
Number of additional worker nodes for the cluster.
|
AddWorkerNodesDetails.Builder |
shape(String shape)
Shape of the node.
|
AddWorkerNodesDetails.Builder |
shapeConfig(ShapeConfigDetails shapeConfig) |
public AddWorkerNodesDetails.Builder clusterAdminPassword(String clusterAdminPassword)
Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
clusterAdminPassword
- the value to setpublic AddWorkerNodesDetails.Builder numberOfWorkerNodes(Integer numberOfWorkerNodes)
Number of additional worker nodes for the cluster.
numberOfWorkerNodes
- the value to setpublic AddWorkerNodesDetails.Builder nodeType(AddWorkerNodesDetails.NodeType nodeType)
Worker node types, can either be Worker Data node or Compute only worker node.
nodeType
- the value to setpublic AddWorkerNodesDetails.Builder shape(String shape)
Shape of the node. This has to be specified when adding compute only worker node at the first time. Otherwise, it’s a read-only property.
shape
- the value to setpublic AddWorkerNodesDetails.Builder blockVolumeSizeInGBs(Long blockVolumeSizeInGBs)
The size of block volume in GB to be attached to the given node. This has to be specified when adding compute only worker node at the first time. Otherwise, it’s a read-only property.
blockVolumeSizeInGBs
- the value to setpublic AddWorkerNodesDetails.Builder shapeConfig(ShapeConfigDetails shapeConfig)
public AddWorkerNodesDetails build()
public AddWorkerNodesDetails.Builder copy(AddWorkerNodesDetails model)
Copyright © 2016–2024. All rights reserved.