Package com.vmware.nsx_policy.model
Class Tier0SecurityFeature.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.Tier0SecurityFeature.Builder
-
- Enclosing class:
- Tier0SecurityFeature
public static final class Tier0SecurityFeature.Builder extends java.lang.Object
Builder class forTier0SecurityFeature
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTier0SecurityFeature
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tier0SecurityFeature
build()
Tier0SecurityFeature.Builder
setEnable(java.lang.Boolean enable)
true - activate the feature, false - deactivate the fetureTier0SecurityFeature.Builder
setFeature(java.lang.String feature)
Possible values are:Tier0SecurityFeature.FEATURE_IDFW
Tier0SecurityFeature.FEATURE_IDPS
Feature to be activated/deactivated.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTier0SecurityFeature
.
-
-
Method Detail
-
setEnable
public Tier0SecurityFeature.Builder setEnable(java.lang.Boolean enable)
true - activate the feature, false - deactivate the feture- Parameters:
enable
- New value for the property.
-
setFeature
public Tier0SecurityFeature.Builder setFeature(java.lang.String feature)
Possible values are: Feature to be activated/deactivated. IDFW - Identity Firewall IDPS - Intrusion Detection System Use any one of this to enable/disabe it.- Parameters:
feature
- New value for the property.
-
build
public Tier0SecurityFeature build()
-
-