public static final class LibraryItemTypes.DeploymentTarget.Builder extends Object
LibraryItemTypes.DeploymentTarget
.Constructor and Description |
---|
LibraryItemTypes.DeploymentTarget.Builder(String resourcePoolId)
Constructor with parameters for the required properties of
LibraryItemTypes.DeploymentTarget . |
Modifier and Type | Method and Description |
---|---|
LibraryItemTypes.DeploymentTarget |
build() |
LibraryItemTypes.DeploymentTarget.Builder |
setFolderId(String folderId)
Identifier of the vCenter folder that should contain the virtual machine or
virtual appliance.
|
LibraryItemTypes.DeploymentTarget.Builder |
setHostId(String hostId)
Identifier of the target host on which the virtual machine or virtual appliance
will run.
|
public LibraryItemTypes.DeploymentTarget.Builder(String resourcePoolId)
LibraryItemTypes.DeploymentTarget
.public LibraryItemTypes.DeploymentTarget.Builder setHostId(String hostId)
LibraryItemTypes.DeploymentTarget.getResourcePoolId()
.
If null
, the server will automatically select a target host from the
resource pool if LibraryItemTypes.DeploymentTarget.getResourcePoolId()
is a
stand-alone host or a cluster with Distributed Resource Scheduling (DRS)
enabled.hostId
- 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: HostSystem
. When methods return a
value of this class as a return value, the property will be an identifier for
the resource type: HostSystem
.public LibraryItemTypes.DeploymentTarget.Builder setFolderId(String folderId)
null
, the server will choose the deployment folder.folderId
- 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 LibraryItemTypes.DeploymentTarget build()
Copyright © 2016. All Rights Reserved.