Package com.vmware.nsx_policy.model
Class FeaturePermission.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.FeaturePermission.Builder
-
- Enclosing class:
- FeaturePermission
public static final class FeaturePermission.Builder extends java.lang.Object
Builder class forFeaturePermission
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofFeaturePermission
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeaturePermission
build()
FeaturePermission.Builder
setFeature(java.lang.String feature)
Feature IdFeaturePermission.Builder
setFeatureDescription(java.lang.String featureDescription)
Feature DescriptionFeaturePermission.Builder
setFeatureName(java.lang.String featureName)
Feature NameFeaturePermission.Builder
setIsExecuteRecommended(java.lang.Boolean isExecuteRecommended)
Is execute recommended This property may be present in responses from the server, but if it is present in a request to server it will be ignored.FeaturePermission.Builder
setIsInternal(java.lang.Boolean isInternal)
Is internal This property may be present in responses from the server, but if it is present in a request to server it will be ignored.FeaturePermission.Builder
setPermission(java.lang.String permission)
Possible values are:FeaturePermission.PERMISSION_CRUD
FeaturePermission.PERMISSION_READ
FeaturePermission.PERMISSION_EXECUTE
FeaturePermission.PERMISSION_NONE
Permission
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofFeaturePermission
.
-
-
Method Detail
-
setFeature
public FeaturePermission.Builder setFeature(java.lang.String feature)
Feature Id- Parameters:
feature
- New value for the property.
-
setFeatureDescription
public FeaturePermission.Builder setFeatureDescription(java.lang.String featureDescription)
Feature Description- Parameters:
featureDescription
- New value for the property.
-
setFeatureName
public FeaturePermission.Builder setFeatureName(java.lang.String featureName)
Feature Name- Parameters:
featureName
- New value for the property.
-
setIsExecuteRecommended
public FeaturePermission.Builder setIsExecuteRecommended(java.lang.Boolean isExecuteRecommended)
Is execute recommended This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
isExecuteRecommended
- New value for the property.
-
setIsInternal
public FeaturePermission.Builder setIsInternal(java.lang.Boolean isInternal)
Is internal This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
isInternal
- New value for the property.
-
setPermission
public FeaturePermission.Builder setPermission(java.lang.String permission)
Possible values are: Permission- Parameters:
permission
- New value for the property.
-
build
public FeaturePermission build()
-
-