Class UpfInterface.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • setPrefix

        public UpfInterface.Builder setPrefix​(Ip4Prefix prefix)
        Set the IPv4 prefix of this interface.
        Parameters:
        prefix - the interface prefix
        Returns:
        this builder object
      • setAddress

        public UpfInterface.Builder setAddress​(Ip4Address address)
        Set the IPv4 prefix of this interface, by turning the given address into a /32 prefix.
        Parameters:
        address - the interface address that will become a /32 prefix
        Returns:
        this builder object
      • setAccess

        public UpfInterface.Builder setAccess()
        Make this an access-facing interface.
        Returns:
        this builder object
      • setCore

        public UpfInterface.Builder setCore()
        Make this a core-facing interface.
        Returns:
        this builder object
      • setDbufReceiver

        public UpfInterface.Builder setDbufReceiver()
        Make this a dbuf-facing interface.
        Returns:
        this builder object