Package com.vmware.nsx_policy.model
Class ServiceDeploymentSpec.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ServiceDeploymentSpec.Builder
-
- Enclosing class:
- ServiceDeploymentSpec
public static final class ServiceDeploymentSpec.Builder extends java.lang.Object
Builder class forServiceDeploymentSpec
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofServiceDeploymentSpec
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceDeploymentSpec
build()
ServiceDeploymentSpec.Builder
setDeploymentSpecs(java.util.List<SVMDeploymentSpec> deploymentSpecs)
Deployment Specs holds information required to deploy the Service-VMs.ServiceDeploymentSpec.Builder
setDeploymentTemplate(java.util.List<DeploymentTemplate> deploymentTemplate)
Deployment Template holds the attributes specific to partner for which the service is created.ServiceDeploymentSpec.Builder
setNicMetadataList(java.util.List<NicMetadata> nicMetadataList)
NIC metadata associated with the deployment spec.ServiceDeploymentSpec.Builder
setSvmVersion(java.lang.String svmVersion)
Partner needs to specify the Service VM version which will get deployed.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofServiceDeploymentSpec
.
-
-
Method Detail
-
setDeploymentSpecs
public ServiceDeploymentSpec.Builder setDeploymentSpecs(java.util.List<SVMDeploymentSpec> deploymentSpecs)
Deployment Specs holds information required to deploy the Service-VMs. i.e. OVF url where the partner Service-VM OVF is hosted. The host type on which the OVF can be deployed, Form factor to name a few.- Parameters:
deploymentSpecs
- New value for the property.
-
setDeploymentTemplate
public ServiceDeploymentSpec.Builder setDeploymentTemplate(java.util.List<DeploymentTemplate> deploymentTemplate)
Deployment Template holds the attributes specific to partner for which the service is created. These attributes are opaque to NSX Manager.- Parameters:
deploymentTemplate
- New value for the property.
-
setNicMetadataList
public ServiceDeploymentSpec.Builder setNicMetadataList(java.util.List<NicMetadata> nicMetadataList)
NIC metadata associated with the deployment spec.- Parameters:
nicMetadataList
- New value for the property.
-
setSvmVersion
public ServiceDeploymentSpec.Builder setSvmVersion(java.lang.String svmVersion)
Partner needs to specify the Service VM version which will get deployed.- Parameters:
svmVersion
- New value for the property.
-
build
public ServiceDeploymentSpec build()
-
-