public static class ReplaceNodeDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public ReplaceNodeDetails.Builder nodeHostName(String nodeHostName)
Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
nodeHostName
- the value to setpublic ReplaceNodeDetails.Builder nodeBackupId(String nodeBackupId)
The id of the nodeBackup to use for replacing the node.
nodeBackupId
- the value to setpublic ReplaceNodeDetails.Builder clusterAdminPassword(String clusterAdminPassword)
Base-64 encoded password for the cluster admin user.
clusterAdminPassword
- the value to setpublic 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.
shape
- the value to setpublic ReplaceNodeDetails build()
public ReplaceNodeDetails.Builder copy(ReplaceNodeDetails model)
Copyright © 2016–2024. All rights reserved.