public static final class ClusterTypes.ActiveSpec.Builder
extends java.lang.Object
ClusterTypes.ActiveSpec
.Constructor and Description |
---|
Builder(IpSpec haIp)
Constructor with parameters for the required properties of
ClusterTypes.ActiveSpec . |
Modifier and Type | Method and Description |
---|---|
ClusterTypes.ActiveSpec |
build() |
ClusterTypes.ActiveSpec.Builder |
setHaNetwork(java.lang.String haNetwork)
The identifier of the Network object used for the HA network.
If the ClusterTypes.ActiveSpec.getHaNetwork() property is set,
then the ClusterTypes.ActiveSpec.getHaNetworkType() property must
be set.If the ClusterTypes.ActiveSpec.getHaNetwork() property is null , then the ClusterTypes.ActiveSpec.getHaNetworkType() property is
ignored. |
ClusterTypes.ActiveSpec.Builder |
setHaNetworkType(NetworkType haNetworkType)
The type of the Network object used by the HA network.
If the ClusterTypes.ActiveSpec.getHaNetwork() property is set,
then the ClusterTypes.ActiveSpec.getHaNetworkType() field must be
set.If the ClusterTypes.ActiveSpec.getHaNetwork() property is null , then the ClusterTypes.ActiveSpec.getHaNetworkType() property is
ignored. |
public Builder(IpSpec haIp)
ClusterTypes.ActiveSpec
.public ClusterTypes.ActiveSpec.Builder setHaNetworkType(NetworkType haNetworkType)
ClusterTypes.ActiveSpec.getHaNetwork()
property is set,
then the ClusterTypes.ActiveSpec.getHaNetworkType()
field must be
set.ClusterTypes.ActiveSpec.getHaNetwork()
property is null
, then the ClusterTypes.ActiveSpec.getHaNetworkType()
property is
ignored. This property was added in vSphere API 6.7.1.
If null
and the ClusterTypes.ActiveSpec.getHaNetwork()
property is unset,
then the second NIC is assumed to be already configured.null
and the ClusterTypes.ActiveSpec.getHaNetwork()
property is set, then an error is reported.haNetworkType
- New value for the property.public ClusterTypes.ActiveSpec.Builder setHaNetwork(java.lang.String haNetwork)
ClusterTypes.ActiveSpec.getHaNetwork()
property is set,
then the ClusterTypes.ActiveSpec.getHaNetworkType()
property must
be set.ClusterTypes.ActiveSpec.getHaNetwork()
property is null
, then the ClusterTypes.ActiveSpec.getHaNetworkType()
property is
ignored. This property was added in vSphere API 6.7.1.
If null
and the ClusterTypes.ActiveSpec.getHaNetworkType()
property is
unset, then the second NIC is assumed to be already configured.null
and the ClusterTypes.ActiveSpec.getHaNetwork()
property is set,
then an error is reported.haNetwork
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: Network:VCenter
. When methods return a
value of this class as a return value, the property will be an identifier for
the resource type: Network:VCenter
.public ClusterTypes.ActiveSpec build()