public static final class ClusterTypes.WitnessSpec.Builder
extends java.lang.Object
ClusterTypes.WitnessSpec
.Constructor and Description |
---|
Builder(IpSpec haIp)
Constructor with parameters for the required properties of
ClusterTypes.WitnessSpec . |
Modifier and Type | Method and Description |
---|---|
ClusterTypes.WitnessSpec |
build() |
ClusterTypes.WitnessSpec.Builder |
setPlacement(PlacementSpec placement)
Contains the placement configuration of the node.
|
public Builder(IpSpec haIp)
ClusterTypes.WitnessSpec
.public ClusterTypes.WitnessSpec.Builder setPlacement(PlacementSpec placement)
null
, then it is assumed that the clone will be done manually by the
customer. In this case, the placement configuration for the witness node should
also be omitted. Only the network configuration will be setup. Once the passive
and witness nodes are cloned from the active node, the VCHA high availability is
turned on.placement
- New value for the property.public ClusterTypes.WitnessSpec build()