public static final class VMTypes.InstantClonePlacementSpec.Builder
extends java.lang.Object
VMTypes.InstantClonePlacementSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
VMTypes.InstantClonePlacementSpec . |
Modifier and Type | Method and Description |
---|---|
VMTypes.InstantClonePlacementSpec |
build() |
VMTypes.InstantClonePlacementSpec.Builder |
setDatastore(java.lang.String datastore)
Datastore on which the InstantCloned virtual machine's configuration state
should be stored.
|
VMTypes.InstantClonePlacementSpec.Builder |
setFolder(java.lang.String folder)
Virtual machine folder into which the InstantCloned virtual machine should be
placed.
|
VMTypes.InstantClonePlacementSpec.Builder |
setResourcePool(java.lang.String resourcePool)
Resource pool into which the InstantCloned virtual machine should be placed.
|
public Builder()
VMTypes.InstantClonePlacementSpec
.public VMTypes.InstantClonePlacementSpec.Builder setFolder(java.lang.String folder)
null
, the system will use the virtual machine folder of
the source virtual machine.folder
- 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: Folder
. When methods return a value of
this class as a return value, the property will be an identifier for the
resource type: Folder
.public VMTypes.InstantClonePlacementSpec.Builder setResourcePool(java.lang.String resourcePool)
null
, the system will use the resource pool of the source
virtual machine.resourcePool
- 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: ResourcePool
. When methods return a
value of this class as a return value, the property will be an identifier for
the resource type: ResourcePool
.public VMTypes.InstantClonePlacementSpec.Builder setDatastore(java.lang.String datastore)
null
, the system will use the datastore of the source
virtual machine.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.InstantClonePlacementSpec build()