public static final class SoftwareTypes.ApplySpec.Builder
extends java.lang.Object
SoftwareTypes.ApplySpec.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
SoftwareTypes.ApplySpec. |
| Modifier and Type | Method and Description |
|---|---|
SoftwareTypes.ApplySpec |
build() |
SoftwareTypes.ApplySpec.Builder |
setAcceptEula(java.lang.Boolean acceptEula)
Accept the VMware End User License Agreement (EULA) before starting the
com.vmware.esx.settings.clusters.Software#apply method. |
SoftwareTypes.ApplySpec.Builder |
setCommit(java.lang.String commit)
The minimum commit identifier of the desired software document to be used during
the
com.vmware.esx.settings.clusters.Software#apply method. |
SoftwareTypes.ApplySpec.Builder |
setHosts(java.util.Set<java.lang.String> hosts)
The specific hosts within the cluster to be considered during the
com.vmware.esx.settings.clusters.Software#apply method. |
public Builder()
SoftwareTypes.ApplySpec.public SoftwareTypes.ApplySpec.Builder setCommit(java.lang.String commit)
com.vmware.esx.settings.clusters.Software#apply method.
if null or empty the apply method will use the latest commit to fetch
the desired state document.commit - 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: com.vmware.esx.settings.commit. When
methods return a value of this class as a return value, the property will be an
identifier for the resource type: com.vmware.esx.settings.commit.public SoftwareTypes.ApplySpec.Builder setHosts(java.util.Set<java.lang.String> hosts)
com.vmware.esx.settings.clusters.Software#apply method.
if null or empty the com.vmware.esx.settings.clusters.Software#apply method will remediate all hosts
within the cluster.hosts - New value for the property.
When clients pass a value of this class as a parameter, the property must
contain identifiers for the resource type: HostSystem. When methods
return a value of this class as a return value, the property will contain
identifiers for the resource type: HostSystem.public SoftwareTypes.ApplySpec.Builder setAcceptEula(java.lang.Boolean acceptEula)
com.vmware.esx.settings.clusters.Software#apply method. The VMware EULA is
available for download at, https://www.vmware.com/download/eula.html
if null the com.vmware.esx.settings.clusters.Software#apply
method could fail due to the EULA not being accepted.acceptEula - New value for the property.public SoftwareTypes.ApplySpec build()