public static final class LibraryItemTypes.StorageGroupMapping.Builder
extends java.lang.Object
LibraryItemTypes.StorageGroupMapping
.Constructor and Description |
---|
Builder(LibraryItemTypes.StorageGroupMapping.Type type)
Constructor with parameters for the required properties of
LibraryItemTypes.StorageGroupMapping . |
Modifier and Type | Method and Description |
---|---|
LibraryItemTypes.StorageGroupMapping |
build() |
LibraryItemTypes.StorageGroupMapping.Builder |
setDatastoreId(java.lang.String datastoreId)
Target datastore to be used for the storage group.
|
LibraryItemTypes.StorageGroupMapping.Builder |
setProvisioning(DiskProvisioningType provisioning)
Target provisioning type to use for the storage group.
|
LibraryItemTypes.StorageGroupMapping.Builder |
setStorageProfileId(java.lang.String storageProfileId)
Target storage profile to be used for the storage group.
|
public Builder(LibraryItemTypes.StorageGroupMapping.Type type)
LibraryItemTypes.StorageGroupMapping
.public LibraryItemTypes.StorageGroupMapping.Builder setDatastoreId(java.lang.String datastoreId)
getType()
is LibraryItemTypes.StorageGroupMapping.Type.DATASTORE
.datastoreId
- 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: Datastore
. When methods return a value
of this class as a return value, the property will be an identifier for the
resource type: Datastore
.public LibraryItemTypes.StorageGroupMapping.Builder setStorageProfileId(java.lang.String storageProfileId)
getType()
is LibraryItemTypes.StorageGroupMapping.Type.STORAGE_PROFILE
.storageProfileId
- 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: StorageProfile
. When methods return a
value of this class as a return value, the property will be an identifier for
the resource type: StorageProfile
.public LibraryItemTypes.StorageGroupMapping.Builder setProvisioning(DiskProvisioningType provisioning)
null
, LibraryItemTypes.ResourcePoolDeploymentSpec.getStorageProvisioning()
will be used.provisioning
- New value for the property.public LibraryItemTypes.StorageGroupMapping build()