public static final class InstanceDeploymentConfig.Builder
extends java.lang.Object
InstanceDeploymentConfig
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
InstanceDeploymentConfig . |
Modifier and Type | Method and Description |
---|---|
InstanceDeploymentConfig |
build() |
InstanceDeploymentConfig.Builder |
setComputeId(java.lang.String computeId)
Resource Pool or Compute Id.
|
InstanceDeploymentConfig.Builder |
setContextId(java.lang.String contextId)
Context Id or VCenter Id.
|
InstanceDeploymentConfig.Builder |
setHostId(java.lang.String hostId)
The service VM will be deployed on the specified host in the specified server
within the cluster if host_id is specified.
|
InstanceDeploymentConfig.Builder |
setStorageId(java.lang.String storageId)
Storage Id.
|
InstanceDeploymentConfig.Builder |
setVmNicInfos(java.util.List<VmNicInfo> vmNicInfos)
List of NIC information for VMs
|
public Builder()
InstanceDeploymentConfig
.public InstanceDeploymentConfig.Builder setComputeId(java.lang.String computeId)
computeId
- New value for the property.public InstanceDeploymentConfig.Builder setContextId(java.lang.String contextId)
contextId
- New value for the property.public InstanceDeploymentConfig.Builder setHostId(java.lang.String hostId)
hostId
- New value for the property.public InstanceDeploymentConfig.Builder setStorageId(java.lang.String storageId)
storageId
- New value for the property.public InstanceDeploymentConfig.Builder setVmNicInfos(java.util.List<VmNicInfo> vmNicInfos)
vmNicInfos
- New value for the property.public InstanceDeploymentConfig build()