public static final class VMTypes.DiskCloneSpec.Builder
extends java.lang.Object
VMTypes.DiskCloneSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
VMTypes.DiskCloneSpec . |
Modifier and Type | Method and Description |
---|---|
VMTypes.DiskCloneSpec |
build() |
VMTypes.DiskCloneSpec.Builder |
setDatastore(java.lang.String datastore)
Destination datastore to clone disk.
|
public Builder()
VMTypes.DiskCloneSpec
.public VMTypes.DiskCloneSpec.Builder setDatastore(java.lang.String datastore)
null
disk will be copied to the datastore specified in the VMTypes.ClonePlacementSpec.getDatastore()
property of VMTypes.CloneSpec.getPlacement()
.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.DiskCloneSpec build()