Package com.vmware.nsx_policy.model
Class SVMDeploymentSpec.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.SVMDeploymentSpec.Builder
-
- Enclosing class:
- SVMDeploymentSpec
public static final class SVMDeploymentSpec.Builder extends java.lang.Object
Builder class forSVMDeploymentSpec
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofSVMDeploymentSpec
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SVMDeploymentSpec
build()
SVMDeploymentSpec.Builder
setHostType(java.lang.String hostType)
Possible values are:SVMDeploymentSpec.HOST_TYPE_ESXI
SVMDeploymentSpec.HOST_TYPE_RHELKVM
SVMDeploymentSpec.HOST_TYPE_UBUNTUKVM
Host Type on which the specified OVF can be deployed.SVMDeploymentSpec.Builder
setMinHostVersion(java.lang.String minHostVersion)
Minimum host version supported by this ovf.SVMDeploymentSpec.Builder
setName(java.lang.String name)
Deployment Spec name for ease of use, since multiple DeploymentSpec can be specified.SVMDeploymentSpec.Builder
setOvfUrl(java.lang.String ovfUrl)
Location of the partner VM OVF to be deployed.SVMDeploymentSpec.Builder
setServiceFormFactor(java.lang.String serviceFormFactor)
Possible values are:SVMDeploymentSpec.SERVICE_FORM_FACTOR_SMALL
SVMDeploymentSpec.SERVICE_FORM_FACTOR_MEDIUM
SVMDeploymentSpec.SERVICE_FORM_FACTOR_LARGE
Supported ServiceInsertion Form Factor for the OVF deployment.SVMDeploymentSpec.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 ofSVMDeploymentSpec
.
-
-
Method Detail
-
setHostType
public SVMDeploymentSpec.Builder setHostType(java.lang.String hostType)
Possible values are: Host Type on which the specified OVF can be deployed.- Parameters:
hostType
- New value for the property.
-
setMinHostVersion
public SVMDeploymentSpec.Builder setMinHostVersion(java.lang.String minHostVersion)
Minimum host version supported by this ovf. If a host in the deployment cluster is having version less than this, then service deployment will not happen on that host.- Parameters:
minHostVersion
- New value for the property.
-
setName
public SVMDeploymentSpec.Builder setName(java.lang.String name)
Deployment Spec name for ease of use, since multiple DeploymentSpec can be specified.- Parameters:
name
- New value for the property.
-
setOvfUrl
public SVMDeploymentSpec.Builder setOvfUrl(java.lang.String ovfUrl)
Location of the partner VM OVF to be deployed.- Parameters:
ovfUrl
- New value for the property.
-
setServiceFormFactor
public SVMDeploymentSpec.Builder setServiceFormFactor(java.lang.String serviceFormFactor)
Possible values are: Supported ServiceInsertion Form Factor for the OVF deployment. The default FormFactor is Medium.- Parameters:
serviceFormFactor
- New value for the property.
-
setSvmVersion
public SVMDeploymentSpec.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 SVMDeploymentSpec build()
-
-