public static final class ServiceDeploymentConfig.Builder
extends java.lang.Object
ServiceDeploymentConfig
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ServiceDeploymentConfig . |
Modifier and Type | Method and Description |
---|---|
ServiceDeploymentConfig |
build() |
ServiceDeploymentConfig.Builder |
setComputeCollectionId(java.lang.String computeCollectionId)
Resource Pool or cluster Id.
|
ServiceDeploymentConfig.Builder |
setComputeManagerId(java.lang.String computeManagerId)
Context Id or VCenter Id.
|
ServiceDeploymentConfig.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.
|
ServiceDeploymentConfig.Builder |
setStorageId(java.lang.String storageId)
Moref of the datastore in VC.
|
ServiceDeploymentConfig.Builder |
setVmNicInfo(VmNicInfo vmNicInfo) |
public Builder()
ServiceDeploymentConfig
.public ServiceDeploymentConfig.Builder setComputeCollectionId(java.lang.String computeCollectionId)
computeCollectionId
- New value for the property.public ServiceDeploymentConfig.Builder setComputeManagerId(java.lang.String computeManagerId)
computeManagerId
- New value for the property.public ServiceDeploymentConfig.Builder setHostId(java.lang.String hostId)
hostId
- New value for the property.public ServiceDeploymentConfig.Builder setStorageId(java.lang.String storageId)
storageId
- New value for the property.public ServiceDeploymentConfig.Builder setVmNicInfo(VmNicInfo vmNicInfo)
vmNicInfo
- New value for the property.public ServiceDeploymentConfig build()