public static final class SoftwareTypes.CheckSpec.Builder
extends java.lang.Object
SoftwareTypes.CheckSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
SoftwareTypes.CheckSpec . |
Modifier and Type | Method and Description |
---|---|
SoftwareTypes.CheckSpec |
build() |
SoftwareTypes.CheckSpec.Builder |
setCommit(java.lang.String commit)
The minimum commit identifier of the desired software document to be used during
the check method.
|
SoftwareTypes.CheckSpec.Builder |
setHosts(java.util.Set<java.lang.String> hosts)
The specific hosts for which checks need to be performed
if
null or empty checks are run for all hosts within the cluster. |
public Builder()
SoftwareTypes.CheckSpec
.public SoftwareTypes.CheckSpec.Builder setCommit(java.lang.String commit)
null
or empty the check opertion 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.CheckSpec.Builder setHosts(java.util.Set<java.lang.String> hosts)
null
or empty checks are run for 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.CheckSpec build()