public static final class ComplianceTypes.CheckSpec.Builder
extends java.lang.Object
ComplianceTypes.CheckSpec
.Constructor and Description |
---|
Builder(boolean vmHome)
Constructor with parameters for the required properties of
ComplianceTypes.CheckSpec . |
Modifier and Type | Method and Description |
---|---|
ComplianceTypes.CheckSpec |
build() |
ComplianceTypes.CheckSpec.Builder |
setDisks(java.util.Set<java.lang.String> disks)
Identifiers of the virtual machine's virtual disks for which compliance should
be checked.
|
public Builder(boolean vmHome)
ComplianceTypes.CheckSpec
.public ComplianceTypes.CheckSpec.Builder setDisks(java.util.Set<java.lang.String> disks)
null
or empty, compliance check is invoked on all the associated
disks.disks
- 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: com.vmware.vcenter.vm.hardware.Disk
. When methods return a value of this class
as a return value, the property will contain identifiers for the resource type:
com.vmware.vcenter.vm.hardware.Disk
.public ComplianceTypes.CheckSpec build()