public static final class HostMovementSpec.Builder
extends java.lang.Object
HostMovementSpec.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
HostMovementSpec. |
| Modifier and Type | Method and Description |
|---|---|
HostMovementSpec |
build() |
HostMovementSpec.Builder |
setDestination(java.lang.String destination)
This is the policy path of destination sub-cluster to which hosts will be moved
to.
|
HostMovementSpec.Builder |
setDiscoveredNodeIds(java.util.List<java.lang.String> discoveredNodeIds)
Discovered node IDs to be moved.
|
HostMovementSpec.Builder |
setSource(java.lang.String source)
This is the policy path of source sub-cluster from which hosts are moved out
|
public Builder()
HostMovementSpec.public HostMovementSpec.Builder setDestination(java.lang.String destination)
destination - New value for the property.public HostMovementSpec.Builder setDiscoveredNodeIds(java.util.List<java.lang.String> discoveredNodeIds)
discoveredNodeIds - New value for the property.public HostMovementSpec.Builder setSource(java.lang.String source)
source - New value for the property.public HostMovementSpec build()