public static final class ClusterTypes.NodeRuntimeInfo.Builder
extends java.lang.Object
ClusterTypes.NodeRuntimeInfo
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ClusterTypes.NodeRuntimeInfo . |
Modifier and Type | Method and Description |
---|---|
ClusterTypes.NodeRuntimeInfo |
build() |
ClusterTypes.NodeRuntimeInfo.Builder |
setPlacement(PlacementInfo placement)
Placement information of the node.
The active node's management vCenter server credentials are required to populate most properties of ClusterTypes.NodeRuntimeInfo.getPlacement() . |
ClusterTypes.NodeRuntimeInfo.Builder |
setRole(ClusterTypes.NodeRole role)
Last known role of the node.
The active node's management vCenter server credentials are not required to populate ClusterTypes.NodeRuntimeInfo.getRole() . |
ClusterTypes.NodeRuntimeInfo.Builder |
setState(ClusterTypes.NodeState state)
Last known state of the node.
The active node's management vCenter server credentials are not required to populate ClusterTypes.NodeRuntimeInfo.getState() . |
public Builder()
ClusterTypes.NodeRuntimeInfo
.public ClusterTypes.NodeRuntimeInfo.Builder setState(ClusterTypes.NodeState state)
ClusterTypes.NodeRuntimeInfo.getState()
. This property
was added in vSphere API 6.7.1.
If null
, then information is unavailable or the passive and witness
nodes are not cloned yet.state
- New value for the property.public ClusterTypes.NodeRuntimeInfo.Builder setRole(ClusterTypes.NodeRole role)
ClusterTypes.NodeRuntimeInfo.getRole()
. This property was
added in vSphere API 6.7.1.
If null
, then information is unavailable or the passive and witness
nodes are not cloned yet.role
- New value for the property.public ClusterTypes.NodeRuntimeInfo.Builder setPlacement(PlacementInfo placement)
ClusterTypes.NodeRuntimeInfo.getPlacement()
. This
property was added in vSphere API 6.7.1.
If null
, then the information is unavailable or the specified Active
vCenter server management credentials are invalid or the node is not cloned yet
or the VCHA cluster was deployed in a manual fashion.placement
- New value for the property.public ClusterTypes.NodeRuntimeInfo build()