Class L2VpnTransportTunnelPeerCode.Builder

    • Method Detail

      • setPeerCode

        public L2VpnTransportTunnelPeerCode.Builder setPeerCode​(java.lang.String peerCode)
        Copy this code to paste on the remote end of the tunnel. This is a base64 encoded string which has all the configuration for tunnel. E.g local/remote 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.
      • setTransportTunnelPath

        public L2VpnTransportTunnelPeerCode.Builder setTransportTunnelPath​(java.lang.String transportTunnelPath)
        Policy path referencing the transport tunnel.
        Parameters:
        transportTunnelPath - New value for the property.