Package com.vmware.nsx_policy.model
Class ApplicationConnectivityStrategy.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ApplicationConnectivityStrategy.Builder
-
- Enclosing class:
- ApplicationConnectivityStrategy
public static final class ApplicationConnectivityStrategy.Builder extends java.lang.Object
Builder class forApplicationConnectivityStrategy
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofApplicationConnectivityStrategy
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofApplicationConnectivityStrategy
.
-
-
Method Detail
-
setApplicationConnectivityStrategy
public ApplicationConnectivityStrategy.Builder setApplicationConnectivityStrategy(java.lang.String applicationConnectivityStrategy)
Possible values are:-
ApplicationConnectivityStrategy.APPLICATION_CONNECTIVITY_STRATEGY_ALLOW_INTRA
-
ApplicationConnectivityStrategy.APPLICATION_CONNECTIVITY_STRATEGY_ALLOW_EGRESS
-
ApplicationConnectivityStrategy.APPLICATION_CONNECTIVITY_STRATEGY_ALLOW_INGRESS
-
ApplicationConnectivityStrategy.APPLICATION_CONNECTIVITY_STRATEGY_DROP_INGRESS
-
ApplicationConnectivityStrategy.APPLICATION_CONNECTIVITY_STRATEGY_DROP_EGRESS
- Parameters:
applicationConnectivityStrategy
- New value for the property.
-
-
setDefaultApplicationRuleId
public ApplicationConnectivityStrategy.Builder setDefaultApplicationRuleId(java.lang.Long defaultApplicationRuleId)
Based on the value of the app connectivity strategy, a default rule is created for the security policy. The rule id is internally assigned by the system for this default rule. format: int64 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:
defaultApplicationRuleId
- New value for the property.
-
setLoggingEnabled
public ApplicationConnectivityStrategy.Builder setLoggingEnabled(java.lang.Boolean loggingEnabled)
Flag to enable packet logging. Default is deactivated.- Parameters:
loggingEnabled
- New value for the property.
-
build
public ApplicationConnectivityStrategy build()
-
-