public static final class LibraryItemsTypes.DeploySpecDiskStorage.Builder
extends java.lang.Object
LibraryItemsTypes.DeploySpecDiskStorage
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
LibraryItemsTypes.DeploySpecDiskStorage . |
Modifier and Type | Method and Description |
---|---|
LibraryItemsTypes.DeploySpecDiskStorage |
build() |
LibraryItemsTypes.DeploySpecDiskStorage.Builder |
setDatastore(java.lang.String datastore)
Identifier for the datastore associated the deployed virtual machine's disk.
|
LibraryItemsTypes.DeploySpecDiskStorage.Builder |
setStoragePolicy(LibraryItemsTypes.DeploySpecDiskStoragePolicy storagePolicy)
Storage policy for the deployed virtual machine's disk.
|
public Builder()
LibraryItemsTypes.DeploySpecDiskStorage
.public LibraryItemsTypes.DeploySpecDiskStorage.Builder setDatastore(java.lang.String datastore)
If getStoragePolicy()
is also
specified and is incompatible with the getDatastore()
, then the disk
will be flagged as being out of compliance with the specified storage
policy.
datastore
- 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 LibraryItemsTypes.DeploySpecDiskStorage.Builder setStoragePolicy(LibraryItemsTypes.DeploySpecDiskStoragePolicy storagePolicy)
null
, getDatastore()
must be specified and the deployed
virtual machine's disk is created with the default storage policy associated
with the getDatastore()
.storagePolicy
- New value for the property.public LibraryItemsTypes.DeploySpecDiskStorage build()