Class L2Extension.Builder

  • Enclosing class:
    L2Extension

    public static final class L2Extension.Builder
    extends java.lang.Object
    Builder class for L2Extension.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of L2Extension.
    • Method Detail

      • setL2vpnPath

        public L2Extension.Builder setL2vpnPath​(java.lang.String l2vpnPath)
        This property has been deprecated. Please use the property l2vpn_paths for setting the paths of associated L2 VPN session. This property will continue to work as expected to provide backwards compatibility. However, when both l2vpn_path and l2vpn_paths properties are specified, only l2vpn_paths is used.
        Parameters:
        l2vpnPath - New value for the property.
      • setL2vpnPaths

        public L2Extension.Builder setL2vpnPaths​(java.util.List<java.lang.String> l2vpnPaths)
        Policy paths corresponding to the associated L2 VPN sessions
        Parameters:
        l2vpnPaths - New value for the property.
      • setTunnelId

        public L2Extension.Builder setTunnelId​(java.lang.Long tunnelId)
        Tunnel ID format: int32
        Parameters:
        tunnelId - New value for the property.