Class L2VPNSessionTransportTunnelData.Builder

    • Method Detail

      • setLocalAddress

        public L2VPNSessionTransportTunnelData.Builder setLocalAddress​(java.lang.String localAddress)
        IPv4 Address of local endpoint. format: ipv4
        Parameters:
        localAddress - New value for the property.
      • setPeerAddress

        public L2VPNSessionTransportTunnelData.Builder setPeerAddress​(java.lang.String peerAddress)
        IPv4 Address of Peer endpoint on remote site. format: ipv4
        Parameters:
        peerAddress - New value for the property.
      • setPeerCode

        public L2VPNSessionTransportTunnelData.Builder setPeerCode​(java.lang.String peerCode)
        Peer code represents a base64 encoded string which has all the configuration for tunnel. E.g local/peer ips and protocol, encryption algorithm, etc. Peer code also contains PSK; be careful when sharing or storing it.
        Parameters:
        peerCode - New value for the property.