Package com.oracle.bmc.bds.model
Class AddMasterNodesDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.bds.model.AddMasterNodesDetails.Builder
-
- Enclosing class:
- AddMasterNodesDetails
public static class AddMasterNodesDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddMasterNodesDetails.Builder
blockVolumeSizeInGBs(Long blockVolumeSizeInGBs)
The size of block volume in GB to be attached to the given node.AddMasterNodesDetails
build()
AddMasterNodesDetails.Builder
clusterAdminPassword(String clusterAdminPassword)
Base-64 encoded Cluster Admin Password for cluster admin user.AddMasterNodesDetails.Builder
copy(AddMasterNodesDetails model)
AddMasterNodesDetails.Builder
numberOfMasterNodes(Integer numberOfMasterNodes)
Number of additional master nodes for the cluster.AddMasterNodesDetails.Builder
shape(String shape)
Shape of the node.AddMasterNodesDetails.Builder
shapeConfig(ShapeConfigDetails shapeConfig)
-
-
-
Method Detail
-
clusterAdminPassword
public AddMasterNodesDetails.Builder clusterAdminPassword(String clusterAdminPassword)
Base-64 encoded Cluster Admin Password for cluster admin user.- Parameters:
clusterAdminPassword
- the value to set- Returns:
- this builder
-
numberOfMasterNodes
public AddMasterNodesDetails.Builder numberOfMasterNodes(Integer numberOfMasterNodes)
Number of additional master nodes for the cluster.- Parameters:
numberOfMasterNodes
- the value to set- Returns:
- this builder
-
shape
public AddMasterNodesDetails.Builder shape(String shape)
Shape of the node.It’s a read-only property derived from existing Master node.
- Parameters:
shape
- the value to set- Returns:
- this builder
-
blockVolumeSizeInGBs
public AddMasterNodesDetails.Builder blockVolumeSizeInGBs(Long blockVolumeSizeInGBs)
The size of block volume in GB to be attached to the given node.It’s a read-only property.
- Parameters:
blockVolumeSizeInGBs
- the value to set- Returns:
- this builder
-
shapeConfig
public AddMasterNodesDetails.Builder shapeConfig(ShapeConfigDetails shapeConfig)
-
build
public AddMasterNodesDetails build()
-
copy
public AddMasterNodesDetails.Builder copy(AddMasterNodesDetails model)
-
-