public static final class WitnessTypes.RedeploySpec.Builder
extends java.lang.Object
WitnessTypes.RedeploySpec
.Constructor and Description |
---|
Builder(PlacementSpec placement)
Constructor with parameters for the required properties of
WitnessTypes.RedeploySpec . |
Modifier and Type | Method and Description |
---|---|
WitnessTypes.RedeploySpec |
build() |
WitnessTypes.RedeploySpec.Builder |
setHaIp(IpSpec haIp)
Contains the VCHA HA network configuration of the node.
|
WitnessTypes.RedeploySpec.Builder |
setVcSpec(CredentialsSpec vcSpec)
Contains the active node's management vCenter server credentials.
|
public Builder(PlacementSpec placement)
WitnessTypes.RedeploySpec
.public WitnessTypes.RedeploySpec.Builder setVcSpec(CredentialsSpec vcSpec)
null
, then the active vCenter Server instance is assumed to be either
self-managed or else in enhanced linked mode and managed by a linked vCenter
Server instance.vcSpec
- New value for the property.public WitnessTypes.RedeploySpec.Builder setHaIp(IpSpec haIp)
null
, then the stored network configuration for the VCHA HA network
for the witness node will be used.haIp
- New value for the property.public WitnessTypes.RedeploySpec build()