Package com.vmware.nsx_policy.model
Class PolicyBasedL3VpnSession.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyBasedL3VpnSession.Builder
-
- Enclosing class:
- PolicyBasedL3VpnSession
public static final class PolicyBasedL3VpnSession.Builder extends java.lang.Object
Builder class forPolicyBasedL3VpnSession
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPolicyBasedL3VpnSession
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyBasedL3VpnSession
build()
PolicyBasedL3VpnSession.Builder
setRules(java.util.List<L3VpnRule> rules)
L3Vpn rules that are specific to the L3Vpn.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyBasedL3VpnSession
.
-
-
Method Detail
-
setRules
public PolicyBasedL3VpnSession.Builder setRules(java.util.List<L3VpnRule> rules)
L3Vpn rules that are specific to the L3Vpn. Only L3Vpn rules with PROTECT action are supported.- Parameters:
rules
- New value for the property.
-
build
public PolicyBasedL3VpnSession build()
-
-