public static final class ClusterTypes.Info.Builder
extends java.lang.Object
ClusterTypes.Info
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ClusterTypes.Info . |
Modifier and Type | Method and Description |
---|---|
ClusterTypes.Info |
build() |
ClusterTypes.Info.Builder |
setAutoFailoverAllowed(java.lang.Boolean autoFailoverAllowed)
Specifies if automatic failover is allowed.
|
ClusterTypes.Info.Builder |
setConfigState(ClusterTypes.ConfigState configState)
Configuration state of the VCHA cluster.
The active node's management vCenter server credentials are not required to populate this property. |
ClusterTypes.Info.Builder |
setHealthException(java.util.List<LocalizableMessage> healthException)
Health warning messages if the health information is unavailable.
|
ClusterTypes.Info.Builder |
setHealthState(ClusterTypes.ClusterState healthState)
Last known state of the VCHA Cluster.
|
ClusterTypes.Info.Builder |
setHealthWarnings(java.util.List<ClusterTypes.ErrorCondition> healthWarnings)
A collection of messages describing the reason for a non-healthy Cluster.
|
ClusterTypes.Info.Builder |
setManualFailoverAllowed(java.lang.Boolean manualFailoverAllowed)
Specifies if manual failover is allowed.
|
ClusterTypes.Info.Builder |
setMode(ClusterTypes.ClusterMode mode)
Operational mode of the VCHA Cluster.
|
ClusterTypes.Info.Builder |
setNode1(ClusterTypes.NodeInfo node1)
Node configuration information for the VCHA cluster.
|
ClusterTypes.Info.Builder |
setNode2(ClusterTypes.NodeInfo node2)
Node configuration information for the VCHA cluster.
|
ClusterTypes.Info.Builder |
setWitness(ClusterTypes.WitnessInfo witness)
Node configuration information for the VCHA cluster.
|
public Builder()
ClusterTypes.Info
.public ClusterTypes.Info.Builder setConfigState(ClusterTypes.ConfigState configState)
null
, then the information is unavailable.configState
- New value for the property.public ClusterTypes.Info.Builder setNode1(ClusterTypes.NodeInfo node1)
null
, then the information is unavailable.node1
- New value for the property.public ClusterTypes.Info.Builder setNode2(ClusterTypes.NodeInfo node2)
null
, then the information is unavailable or the node is not cloned
yet.node2
- New value for the property.public ClusterTypes.Info.Builder setWitness(ClusterTypes.WitnessInfo witness)
null
, then the information is unavailable or the node is not cloned
yet.witness
- New value for the property.public ClusterTypes.Info.Builder setMode(ClusterTypes.ClusterMode mode)
null
, then the information is unavailable or the node is not cloned
yet.mode
- New value for the property.public ClusterTypes.Info.Builder setHealthState(ClusterTypes.ClusterState healthState)
null
, then the information is unavailable or the node is not cloned
yet.healthState
- New value for the property.public ClusterTypes.Info.Builder setHealthException(java.util.List<LocalizableMessage> healthException)
null
, then the cluster is in a healthy state.healthException
- New value for the property.public ClusterTypes.Info.Builder setHealthWarnings(java.util.List<ClusterTypes.ErrorCondition> healthWarnings)
null
, then the cluster is in a healthy state.healthWarnings
- New value for the property.public ClusterTypes.Info.Builder setManualFailoverAllowed(java.lang.Boolean manualFailoverAllowed)
null
, then the cluster state healthy and manual failover allowance in
accordance with the cluster mode.manualFailoverAllowed
- New value for the property.public ClusterTypes.Info.Builder setAutoFailoverAllowed(java.lang.Boolean autoFailoverAllowed)
null
, then the cluster state healthy and automatic failover allowance
in accordance with the cluster mode.autoFailoverAllowed
- New value for the property.public ClusterTypes.Info build()