public static final class PolicyTypes.VmHomePolicySpec.Builder
extends java.lang.Object
PolicyTypes.VmHomePolicySpec
.Constructor and Description |
---|
Builder(PolicyTypes.VmHomePolicySpec.PolicyType type)
Constructor with parameters for the required properties of
PolicyTypes.VmHomePolicySpec . |
Modifier and Type | Method and Description |
---|---|
PolicyTypes.VmHomePolicySpec |
build() |
PolicyTypes.VmHomePolicySpec.Builder |
setPolicy(java.lang.String policy)
Storage Policy identification.
|
public Builder(PolicyTypes.VmHomePolicySpec.PolicyType type)
PolicyTypes.VmHomePolicySpec
.public PolicyTypes.VmHomePolicySpec.Builder setPolicy(java.lang.String policy)
getType()
is PolicyTypes.VmHomePolicySpec.PolicyType.USE_SPECIFIED_POLICY
.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 PolicyTypes.VmHomePolicySpec build()