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