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.Object
Builder 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 SecurityFeature
build()
SecurityFeature.Builder
setEnable(java.lang.Boolean enable)
true - activate the feature, false - deactivate the fetureSecurityFeature.Builder
setFeature(java.lang.String feature)
Possible values are:SecurityFeature.FEATURE_MALWAREPREVENTION
SecurityFeature.FEATURE_IDFW
SecurityFeature.FEATURE_IDPS
SecurityFeature.FEATURE_TLS
Feature 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()
-
-