public static final class ClusterCompliance.Builder
extends java.lang.Object
ClusterCompliance
.Constructor and Description |
---|
Builder(ComplianceImpact impact,
ComplianceStatus status,
Notifications notifications,
java.util.Calendar scanTime,
java.util.Set<java.lang.String> compliantHosts,
java.util.Set<java.lang.String> nonCompliantHosts,
java.util.Set<java.lang.String> incompatibleHosts,
java.util.Set<java.lang.String> unavailableHosts,
java.util.Map<java.lang.String,HostCompliance> hosts,
java.util.Map<java.lang.String,HostInfo> hostInfo)
Constructor with parameters for the required properties of
ClusterCompliance . |
Modifier and Type | Method and Description |
---|---|
ClusterCompliance |
build() |
ClusterCompliance.Builder |
setCommit(java.lang.String commit)
Identifier of the commit on which the scan is run to generate this result.
|
public Builder(ComplianceImpact impact, ComplianceStatus status, Notifications notifications, java.util.Calendar scanTime, java.util.Set<java.lang.String> compliantHosts, java.util.Set<java.lang.String> nonCompliantHosts, java.util.Set<java.lang.String> incompatibleHosts, java.util.Set<java.lang.String> unavailableHosts, java.util.Map<java.lang.String,HostCompliance> hosts, java.util.Map<java.lang.String,HostInfo> hostInfo)
ClusterCompliance
.public ClusterCompliance.Builder setCommit(java.lang.String commit)
null
if operation is performed on a draft.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 ClusterCompliance build()