Package com.vmware.nsx_policy.model
Class DeploymentTemplate.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DeploymentTemplate.Builder
-
- Enclosing class:
- DeploymentTemplate
public static final class DeploymentTemplate.Builder extends java.lang.Object
Builder class forDeploymentTemplate
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDeploymentTemplate
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentTemplate
build()
DeploymentTemplate.Builder
setAttributes(java.util.List<Attribute> attributes)
List of attributes specific to a partner for which the service is created.DeploymentTemplate.Builder
setName(java.lang.String name)
Deployment Template name.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDeploymentTemplate
.
-
-
Method Detail
-
setAttributes
public DeploymentTemplate.Builder setAttributes(java.util.List<Attribute> attributes)
List of attributes specific to a partner for which the service is created. There attributes are passed on to the partner appliance and is opaque to the NSX Manager.- Parameters:
attributes
- New value for the property.
-
setName
public DeploymentTemplate.Builder setName(java.lang.String name)
Deployment Template name.- Parameters:
name
- New value for the property.
-
build
public DeploymentTemplate build()
-
-