public static final class VMTypes.StoragePlacementSpec.Builder
extends java.lang.Object
VMTypes.StoragePlacementSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
VMTypes.StoragePlacementSpec . |
Modifier and Type | Method and Description |
---|---|
VMTypes.StoragePlacementSpec |
build() |
VMTypes.StoragePlacementSpec.Builder |
setDatastore(java.lang.String datastore)
Datastore on which the virtual machine's configuration state should be stored.
|
public Builder()
VMTypes.StoragePlacementSpec
.public VMTypes.StoragePlacementSpec.Builder setDatastore(java.lang.String datastore)
null
, the system will attempt to choose suitable storage for the virtual
machine; if storage cannot be chosen, the virtual machine creation operation
will fail.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 VMTypes.StoragePlacementSpec build()