public static final class ClusterTypes.UndeploySpec.Builder
extends java.lang.Object
ClusterTypes.UndeploySpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ClusterTypes.UndeploySpec . |
Modifier and Type | Method and Description |
---|---|
ClusterTypes.UndeploySpec |
build() |
ClusterTypes.UndeploySpec.Builder |
setForceDelete(java.lang.Boolean forceDelete)
Flag controlling in what circumstances the virtual machines will be deleted.
|
ClusterTypes.UndeploySpec.Builder |
setVcSpec(CredentialsSpec vcSpec)
Contains the active node's management vCenter server credentials.
|
ClusterTypes.UndeploySpec.Builder |
setVms(ClusterTypes.VmInfo vms)
Contains virtual machine information for the passive and witness virtual
machines.
|
public Builder()
ClusterTypes.UndeploySpec
.public ClusterTypes.UndeploySpec.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 ClusterTypes.UndeploySpec.Builder setForceDelete(java.lang.Boolean forceDelete)
ClusterTypes.UndeploySpec.getVms()
property will be
ignored, the VCHA cluster specific information is removed, and the passive and
witness virtual machines will be deleted.ClusterTypes.UndeploySpec.getVms()
property contains the
information identifying the passive and witness virtual machines.ClusterTypes.UndeploySpec.getVms()
property
is set, then it will be validated prior to deleting the passive and witness
virtual machines and VCHA cluster specific information is removed.ClusterTypes.UndeploySpec.getVms()
property is
null
, then the passive and witness virtual machines will not be deleted.
The customer should delete them in order to cleanup completely. VCHA cluster
specific information is removed.null
, the ClusterTypes.UndeploySpec.getVms()
property contains the
information identifying the passive and witness virtual machines. ClusterTypes.UndeploySpec.getVms()
property is
set, then it will be validated prior to deleting the passive and witness virtual
machines. VCHA cluster specific information is removed.ClusterTypes.UndeploySpec.getVms()
property is null
, then the passive and witness virtual machines will not be deleted. The
customer should delete them in order to cleanup completely. VCHA cluster
specific information is removed.forceDelete
- New value for the property.public ClusterTypes.UndeploySpec.Builder setVms(ClusterTypes.VmInfo vms)
If set, the ClusterTypes.UndeploySpec.getForceDelete()
property
controls whether this information is validated.
ClusterTypes.UndeploySpec.getForceDelete()
property is
true, then this information is ignored, VCHA cluster specific information is
removed and the passive and witness virtual machines will be deleted.ClusterTypes.UndeploySpec.getForceDelete()
property is null
or false, then this information is validated prior to
deleting the passive and witness virtual machines. VCHA cluster specific
information is removed.null
, the ClusterTypes.UndeploySpec.getForceDelete()
property
controls the deletion of the passive and witness virtual machines. ClusterTypes.UndeploySpec.getForceDelete()
property is true, then the passive and witness virtual machines will be deleted.
VCHA cluster specific information is removed. ClusterTypes.UndeploySpec.getForceDelete()
property is
null
or false, then the passive and witness virtual machines will not be
deleted. The customer should delete them in order to cleanup completely. VCHA
cluster specific information is removed. vms
- New value for the property.public ClusterTypes.UndeploySpec build()