Class UpfGtpTunnelPeer.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • withTunnelPeerId

        public UpfGtpTunnelPeer.Builder withTunnelPeerId​(byte tunPeerId)
        Set the ID of the UPF GTP Tunnel peer.
        Parameters:
        tunPeerId - GTP tunnel peer ID
        Returns:
        This builder object
      • withSrcAddr

        public UpfGtpTunnelPeer.Builder withSrcAddr​(Ip4Address src)
        Set the source IP address of the unidirectional UPF GTP tunnel.
        Parameters:
        src - GTP tunnel source IP
        Returns:
        This builder object
      • withDstAddr

        public UpfGtpTunnelPeer.Builder withDstAddr​(Ip4Address dst)
        Set the destination IP address of the unidirectional UPF GTP tunnel.
        Parameters:
        dst - GTP tunnel destination IP
        Returns:
        This builder object
      • withSrcPort

        public UpfGtpTunnelPeer.Builder withSrcPort​(short srcPort)
        Set the source port of this unidirectional UPF GTP tunnel.
        Parameters:
        srcPort - tunnel source port
        Returns:
        this builder object