public static final class ComplianceTypes.VmComplianceInfo.Builder
extends java.lang.Object
ComplianceTypes.VmComplianceInfo
.Constructor and Description |
---|
ComplianceTypes.VmComplianceInfo.Builder(ComplianceTypes.Status status,
java.util.Calendar checkTime,
java.util.List<LocalizableMessage> failureCause)
Constructor with parameters for the required properties of
ComplianceTypes.VmComplianceInfo . |
Modifier and Type | Method and Description |
---|---|
ComplianceTypes.VmComplianceInfo |
build() |
ComplianceTypes.VmComplianceInfo.Builder |
setPolicy(java.lang.String policy)
Identifier of the storage policy associated with the virtual machine.
|
public ComplianceTypes.VmComplianceInfo.Builder(ComplianceTypes.Status status, java.util.Calendar checkTime, java.util.List<LocalizableMessage> failureCause)
ComplianceTypes.VmComplianceInfo
.public ComplianceTypes.VmComplianceInfo.Builder setPolicy(java.lang.String policy)
null
SPBM is unable to retrieve or determine the associated policy,
ComplianceTypes.VmComplianceInfo.getFailureCause()
is set in such casses.policy
- 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.vcenter.StoragePolicy
. When
methods return a value of this class as a return value, the property will be an
identifier for the resource type: com.vmware.vcenter.StoragePolicy
.public ComplianceTypes.VmComplianceInfo build()