Package com.oracle.bmc.bds.model
Class ReplaceNodeDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.bds.model.ReplaceNodeDetails.Builder
-
- Enclosing class:
- ReplaceNodeDetails
public static class ReplaceNodeDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplaceNodeDetails
build()
ReplaceNodeDetails.Builder
clusterAdminPassword(String clusterAdminPassword)
Base-64 encoded password for the cluster admin user.ReplaceNodeDetails.Builder
copy(ReplaceNodeDetails model)
ReplaceNodeDetails.Builder
nodeBackupId(String nodeBackupId)
The id of the nodeBackup to use for replacing the node.ReplaceNodeDetails.Builder
nodeHostName(String nodeHostName)
Host name of the node to replace.ReplaceNodeDetails.Builder
shape(String shape)
Shape of the new vm when replacing the node.
-
-
-
Method Detail
-
nodeHostName
public ReplaceNodeDetails.Builder nodeHostName(String nodeHostName)
Host name of the node to replace.MASTER, UTILITY and EDGE node are only supported types
- Parameters:
nodeHostName
- the value to set- Returns:
- this builder
-
nodeBackupId
public ReplaceNodeDetails.Builder nodeBackupId(String nodeBackupId)
The id of the nodeBackup to use for replacing the node.- Parameters:
nodeBackupId
- the value to set- Returns:
- this builder
-
clusterAdminPassword
public ReplaceNodeDetails.Builder clusterAdminPassword(String clusterAdminPassword)
Base-64 encoded password for the cluster admin user.- Parameters:
clusterAdminPassword
- the value to set- Returns:
- this builder
-
shape
public ReplaceNodeDetails.Builder shape(String shape)
Shape of the new vm when replacing the node.If not provided, BDS will attempt to replace the node with the shape of current node.
- Parameters:
shape
- the value to set- Returns:
- this builder
-
build
public ReplaceNodeDetails build()
-
copy
public ReplaceNodeDetails.Builder copy(ReplaceNodeDetails model)
-
-