Package com.oracle.bmc.bds.model
Class AddWorkerNodesDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.bds.model.AddWorkerNodesDetails.Builder
-
- Enclosing class:
- AddWorkerNodesDetails
public static class AddWorkerNodesDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddWorkerNodesDetails.BuilderblockVolumeSizeInGBs(Long blockVolumeSizeInGBs)The size of block volume in GB to be attached to the given node.AddWorkerNodesDetailsbuild()AddWorkerNodesDetails.BuilderclusterAdminPassword(String clusterAdminPassword)Base-64 encoded password for the cluster (and Cloudera Manager) admin user.AddWorkerNodesDetails.Buildercopy(AddWorkerNodesDetails model)AddWorkerNodesDetails.BuildernodeType(AddWorkerNodesDetails.NodeType nodeType)Worker node types, can either be Worker Data node or Compute only worker node.AddWorkerNodesDetails.BuildernumberOfWorkerNodes(Integer numberOfWorkerNodes)Number of additional worker nodes for the cluster.AddWorkerNodesDetails.BuildersecretId(String secretId)The secretId for the clusterAdminPassword.AddWorkerNodesDetails.Buildershape(String shape)Shape of the node.AddWorkerNodesDetails.BuildershapeConfig(ShapeConfigDetails shapeConfig)
-
-
-
Method Detail
-
clusterAdminPassword
public AddWorkerNodesDetails.Builder clusterAdminPassword(String clusterAdminPassword)
Base-64 encoded password for the cluster (and Cloudera Manager) admin user.- Parameters:
clusterAdminPassword- the value to set- Returns:
- this builder
-
secretId
public AddWorkerNodesDetails.Builder secretId(String secretId)
The secretId for the clusterAdminPassword.- Parameters:
secretId- the value to set- Returns:
- this builder
-
numberOfWorkerNodes
public AddWorkerNodesDetails.Builder numberOfWorkerNodes(Integer numberOfWorkerNodes)
Number of additional worker nodes for the cluster.- Parameters:
numberOfWorkerNodes- the value to set- Returns:
- this builder
-
nodeType
public AddWorkerNodesDetails.Builder nodeType(AddWorkerNodesDetails.NodeType nodeType)
Worker node types, can either be Worker Data node or Compute only worker node.- Parameters:
nodeType- the value to set- Returns:
- this builder
-
shape
public 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.
- Parameters:
shape- the value to set- Returns:
- this builder
-
blockVolumeSizeInGBs
public 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 or edge node at the first time. For EDGE nodes. Each node can have a different block storage size within the valid range (50GB-10TB) and the value must be specified.
- Parameters:
blockVolumeSizeInGBs- the value to set- Returns:
- this builder
-
shapeConfig
public AddWorkerNodesDetails.Builder shapeConfig(ShapeConfigDetails shapeConfig)
-
build
public AddWorkerNodesDetails build()
-
copy
public AddWorkerNodesDetails.Builder copy(AddWorkerNodesDetails model)
-
-