Class UpfApplication.Builder

  • Enclosing class:
    UpfApplication

    public static class UpfApplication.Builder
    extends Object
    Builder of UpfApplication object.
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • withIp4Prefix

        public UpfApplication.Builder withIp4Prefix​(Ip4Prefix ipPrefix)
        Set the IP prefix of the UPF application rule.
        Parameters:
        ipPrefix - IPv4 prefix
        Returns:
        This builder object
      • withL4PortRange

        public UpfApplication.Builder withL4PortRange​(com.google.common.collect.Range<Short> l4PortRange)
        Set the L4 port range of the UPF application rule.
        Parameters:
        l4PortRange - bounded range of L4 port
        Returns:
        This builder object
      • withIpProto

        public UpfApplication.Builder withIpProto​(byte ipProto)
        Set the IP protocol field value of the UPF application rule.
        Parameters:
        ipProto - IP protocol field
        Returns:
        This builder object
      • withAppId

        public UpfApplication.Builder withAppId​(byte appId)
        Set the application ID of the UPF application rule.
        Parameters:
        appId - Application ID
        Returns:
        This builder object
      • withPriority

        public UpfApplication.Builder withPriority​(int priority)
        Set the priority of the UPF application rule.
        Parameters:
        priority - Priority
        Returns:
        This builder object