Package com.vmware.nsx_policy.model
Class FeatureSet.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.FeatureSet.Builder
-
- Enclosing class:
- FeatureSet
public static final class FeatureSet.Builder extends java.lang.Object
Builder class forFeatureSet
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofFeatureSet
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatureSet
build()
FeatureSet.Builder
setFeatureList(java.util.List<java.lang.String> featureList)
List of features required for to view widget.FeatureSet.Builder
setRequireAllPermissions(java.lang.Boolean requireAllPermissions)
Flag for specifying if permission to all features is required If set to false, then if there is permission for any of the feature from feature list, widget will be available.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofFeatureSet
.
-
-
Method Detail
-
setFeatureList
public FeatureSet.Builder setFeatureList(java.util.List<java.lang.String> featureList)
List of features required for to view widget.- Parameters:
featureList
- New value for the property.
-
setRequireAllPermissions
public FeatureSet.Builder setRequireAllPermissions(java.lang.Boolean requireAllPermissions)
Flag for specifying if permission to all features is required If set to false, then if there is permission for any of the feature from feature list, widget will be available.- Parameters:
requireAllPermissions
- New value for the property.
-
build
public FeatureSet build()
-
-