Class UpfSessionUplink.Builder

    • Field Detail

      • sessionMeterIdx

        public int sessionMeterIdx
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • withTunDstAddr

        public UpfSessionUplink.Builder withTunDstAddr​(Ip4Address tunDstAddr)
        Sets the tunnel destination IP address (N3/S1U address) that this UPF UE Session rule matches on.
        Parameters:
        tunDstAddr - The tunnel destination IP address
        Returns:
        This builder object
      • withTeid

        public UpfSessionUplink.Builder withTeid​(Integer teid)
        Sets the identifier of the GTP tunnel that this UPF UE Session rule matches on.
        Parameters:
        teid - GTP tunnel ID
        Returns:
        This builder object
      • needsDropping

        public UpfSessionUplink.Builder needsDropping​(boolean drop)
        Sets whether to drop uplink UPF UE session traffic or not.
        Parameters:
        drop - True if request to buffer, false otherwise
        Returns:
        This builder object
      • withSessionMeterIdx

        public UpfSessionUplink.Builder withSessionMeterIdx​(int sessionMeterIdx)
        Sets the meter index associated with this UE session. If not set, default to UpfEntity.DEFAULT_SESSION_INDEX.
        Parameters:
        sessionMeterIdx - Session meter index
        Returns:
        This builder object