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