Package com.vmware.nsx_policy.model
Class SoftwareModule.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.SoftwareModule.Builder
-
- Enclosing class:
- SoftwareModule
public static final class SoftwareModule.Builder extends java.lang.Object
Builder class forSoftwareModule
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofSoftwareModule
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SoftwareModule
build()
SoftwareModule.Builder
setModuleName(java.lang.String moduleName)
Name of the module in the nodeSoftwareModule.Builder
setModuleVersion(java.lang.String moduleVersion)
Version of the module in the node
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofSoftwareModule
.
-
-
Method Detail
-
setModuleName
public SoftwareModule.Builder setModuleName(java.lang.String moduleName)
Name of the module in the node- Parameters:
moduleName
- New value for the property.
-
setModuleVersion
public SoftwareModule.Builder setModuleVersion(java.lang.String moduleVersion)
Version of the module in the node- Parameters:
moduleVersion
- New value for the property.
-
build
public SoftwareModule build()
-
-