Package com.vmware.nsx_policy.model
Class ExportRequestParameter.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ExportRequestParameter.Builder
-
- Enclosing class:
- ExportRequestParameter
public static final class ExportRequestParameter.Builder extends java.lang.Object
Builder class forExportRequestParameter
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofExportRequestParameter
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExportRequestParameter
build()
ExportRequestParameter.Builder
setDraftPath(java.lang.String draftPath)
Policy path of a draft which is to be exported.ExportRequestParameter.Builder
setPassphrase(java.lang.String passphrase)
Passphrase to sign exported files.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofExportRequestParameter
.
-
-
Method Detail
-
setDraftPath
public ExportRequestParameter.Builder setDraftPath(java.lang.String draftPath)
Policy path of a draft which is to be exported. If not provided, current firewall configuration will then be exported.- Parameters:
draftPath
- New value for the property.
-
setPassphrase
public ExportRequestParameter.Builder setPassphrase(java.lang.String passphrase)
Passphrase to sign exported files. The passphrase specified must be at least 8 characters in length and must contain at least one lowercase, one uppercase, one numeric character and one non-space special character.- Parameters:
passphrase
- New value for the property.
-
build
public ExportRequestParameter build()
-
-