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