public static final class LibraryItemsTypes.DeploySpecVmHomeStorage.Builder
extends java.lang.Object
LibraryItemsTypes.DeploySpecVmHomeStorage
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
LibraryItemsTypes.DeploySpecVmHomeStorage . |
Modifier and Type | Method and Description |
---|---|
LibraryItemsTypes.DeploySpecVmHomeStorage |
build() |
LibraryItemsTypes.DeploySpecVmHomeStorage.Builder |
setDatastore(java.lang.String datastore)
Identifier of the datastore for the deployed virtual machine's configuration and
log files.
|
LibraryItemsTypes.DeploySpecVmHomeStorage.Builder |
setStoragePolicy(LibraryItemsTypes.DeploySpecVmHomeStoragePolicy storagePolicy)
Storage policy for the deployed virtual machine's configuration and log files.
|
public Builder()
LibraryItemsTypes.DeploySpecVmHomeStorage
.public LibraryItemsTypes.DeploySpecVmHomeStorage.Builder setDatastore(java.lang.String datastore)
When getStoragePolicy()
is
also specified and is incompatible with the getDatastore()
, then the
deployed virtual machine 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.DeploySpecVmHomeStorage.Builder setStoragePolicy(LibraryItemsTypes.DeploySpecVmHomeStoragePolicy storagePolicy)
null
, getDatastore()
must be specified and the deployed
virtual machine's configuration and log files are created with the default
storage policy associated with the getDatastore()
.storagePolicy
- New value for the property.public LibraryItemsTypes.DeploySpecVmHomeStorage build()