Package com.vmware.nsx_policy.model
Class SecurityFeature.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.SecurityFeature.Builder
-
- Enclosing class:
- SecurityFeature
public static final class SecurityFeature.Builder extends java.lang.ObjectBuilder class forSecurityFeature.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofSecurityFeature.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityFeaturebuild()SecurityFeature.BuildersetEnable(java.lang.Boolean enable)true - activate the feature, false - deactivate the fetureSecurityFeature.BuildersetFeature(java.lang.String feature)Possible values are:SecurityFeature.FEATURE_MALWAREPREVENTIONSecurityFeature.FEATURE_IDFWSecurityFeature.FEATURE_IDPSSecurityFeature.FEATURE_TLSFeature to be activated/deactivated.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofSecurityFeature.
-
-
Method Detail
-
setEnable
public SecurityFeature.Builder setEnable(java.lang.Boolean enable)
true - activate the feature, false - deactivate the feture- Parameters:
enable- New value for the property.
-
setFeature
public SecurityFeature.Builder setFeature(java.lang.String feature)
Possible values are: Feature to be activated/deactivated. IDPS - Intrusion Detection System TLS - Transport Layer Security Inspection MALWAREPREVENTION - Malware Prevention Use any one of this to enable/disabe it.- Parameters:
feature- New value for the property.
-
build
public SecurityFeature build()
-
-