public static final class PolicyTypes.UpdateSpec.Builder
extends java.lang.Object
PolicyTypes.UpdateSpec
.Constructor and Description |
---|
PolicyTypes.UpdateSpec.Builder()
Constructor with parameters for the required properties of
PolicyTypes.UpdateSpec . |
Modifier and Type | Method and Description |
---|---|
PolicyTypes.UpdateSpec |
build() |
PolicyTypes.UpdateSpec.Builder |
setDisks(java.util.Map<java.lang.String,PolicyTypes.DiskPolicySpec> disks)
Storage policy or policies to be used when reconfiguring virtual machine diks.
|
PolicyTypes.UpdateSpec.Builder |
setVmHome(PolicyTypes.VmHomePolicySpec vmHome)
Storage policy to be used when reconfiguring the virtual machine home.
|
public PolicyTypes.UpdateSpec.Builder()
PolicyTypes.UpdateSpec
.public PolicyTypes.UpdateSpec.Builder setVmHome(PolicyTypes.VmHomePolicySpec vmHome)
null
the current storage policy is retained.vmHome
- New value for the property.public PolicyTypes.UpdateSpec.Builder setDisks(java.util.Map<java.lang.String,PolicyTypes.DiskPolicySpec> disks)
null
the current storage policy is retained.disks
- New value for the property.
When clients pass a value of this class as a parameter, the key in the property
Map
must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk
. When methods return a value of this class
as a return value, the key in the property Map
will be an
identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk
.public PolicyTypes.UpdateSpec build()