Package com.oracle.bmc.bds.model
Class CreateNodeDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.bds.model.CreateNodeDetails.Builder
-
- Enclosing class:
- CreateNodeDetails
public static class CreateNodeDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateNodeDetails.BuilderblockVolumeSizeInGBs(Long blockVolumeSizeInGBs)The size of block volume in GB to be attached to a given node.CreateNodeDetailsbuild()CreateNodeDetails.Buildercopy(CreateNodeDetails model)CreateNodeDetails.BuildernodeType(Node.NodeType nodeType)The Big Data Service cluster node type.CreateNodeDetails.Buildershape(String shape)Shape of the node.CreateNodeDetails.BuildershapeConfig(ShapeConfigDetails shapeConfig)CreateNodeDetails.BuildersubnetId(String subnetId)The OCID of the subnet in which the node will be created.
-
-
-
Method Detail
-
nodeType
public CreateNodeDetails.Builder nodeType(Node.NodeType nodeType)
The Big Data Service cluster node type.- Parameters:
nodeType- the value to set- Returns:
- this builder
-
shape
public CreateNodeDetails.Builder shape(String shape)
Shape of the node.- Parameters:
shape- the value to set- Returns:
- this builder
-
blockVolumeSizeInGBs
public CreateNodeDetails.Builder blockVolumeSizeInGBs(Long blockVolumeSizeInGBs)
The size of block volume in GB to be attached to a given node.All the details needed for attaching the block volume are managed by service itself.
- Parameters:
blockVolumeSizeInGBs- the value to set- Returns:
- this builder
-
subnetId
public CreateNodeDetails.Builder subnetId(String subnetId)
The OCID of the subnet in which the node will be created.- Parameters:
subnetId- the value to set- Returns:
- this builder
-
shapeConfig
public CreateNodeDetails.Builder shapeConfig(ShapeConfigDetails shapeConfig)
-
build
public CreateNodeDetails build()
-
copy
public CreateNodeDetails.Builder copy(CreateNodeDetails model)
-
-