Package com.vmware.nsx_policy.model
Class RouteBasedL3VpnSession.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.RouteBasedL3VpnSession.Builder
-
- Enclosing class:
- RouteBasedL3VpnSession
public static final class RouteBasedL3VpnSession.Builder extends java.lang.ObjectBuilder class forRouteBasedL3VpnSession.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofRouteBasedL3VpnSession.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteBasedL3VpnSessionbuild()RouteBasedL3VpnSession.BuildersetDefaultRuleLogging(java.lang.Boolean defaultRuleLogging)Indicates if logging should be enabled for the default whitelisting rule for the VTI interface.RouteBasedL3VpnSession.BuildersetForceWhitelisting(java.lang.Boolean forceWhitelisting)The default firewall rule Action is set to DROP if true otherwise set to ALLOW.RouteBasedL3VpnSession.BuildersetRoutingConfigPath(java.lang.String routingConfigPath)This is a deprecated field.RouteBasedL3VpnSession.BuildersetTunnelSubnets(java.util.List<TunnelSubnet> tunnelSubnets)Virtual tunnel interface (VTI) port IP subnets to be used to configure route-based L3Vpn session.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofRouteBasedL3VpnSession.
-
-
Method Detail
-
setDefaultRuleLogging
public RouteBasedL3VpnSession.Builder setDefaultRuleLogging(java.lang.Boolean defaultRuleLogging)
Indicates if logging should be enabled for the default whitelisting rule for the VTI interface.- Parameters:
defaultRuleLogging- New value for the property.
-
setForceWhitelisting
public RouteBasedL3VpnSession.Builder setForceWhitelisting(java.lang.Boolean forceWhitelisting)
The default firewall rule Action is set to DROP if true otherwise set to ALLOW.- Parameters:
forceWhitelisting- New value for the property.
-
setRoutingConfigPath
public RouteBasedL3VpnSession.Builder setRoutingConfigPath(java.lang.String routingConfigPath)
This is a deprecated field. Any specified value is not saved and will be ignored.- Parameters:
routingConfigPath- New value for the property.
-
setTunnelSubnets
public RouteBasedL3VpnSession.Builder setTunnelSubnets(java.util.List<TunnelSubnet> tunnelSubnets)
Virtual tunnel interface (VTI) port IP subnets to be used to configure route-based L3Vpn session. A max of one tunnel subnet is allowed.- Parameters:
tunnelSubnets- New value for the property.
-
build
public RouteBasedL3VpnSession build()
-
-