Class ReceiptFilter

    • Constructor Detail

      • ReceiptFilter

        public ReceiptFilter()
    • Method Detail

      • setName

        public void setName​(String name)

        The name of the IP address filter. The name must:

        • Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
        • Start and end with a letter or number.
        • Contain less than 64 characters.
        Parameters:
        name - The name of the IP address filter. The name must:

        • Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
        • Start and end with a letter or number.
        • Contain less than 64 characters.
      • getName

        public String getName()

        The name of the IP address filter. The name must:

        • Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
        • Start and end with a letter or number.
        • Contain less than 64 characters.
        Returns:
        The name of the IP address filter. The name must:

        • Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
        • Start and end with a letter or number.
        • Contain less than 64 characters.
      • withName

        public ReceiptFilter withName​(String name)

        The name of the IP address filter. The name must:

        • Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
        • Start and end with a letter or number.
        • Contain less than 64 characters.
        Parameters:
        name - The name of the IP address filter. The name must:

        • Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
        • Start and end with a letter or number.
        • Contain less than 64 characters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIpFilter

        public void setIpFilter​(ReceiptIpFilter ipFilter)

        A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.

        Parameters:
        ipFilter - A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
      • getIpFilter

        public ReceiptIpFilter getIpFilter()

        A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.

        Returns:
        A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
      • withIpFilter

        public ReceiptFilter withIpFilter​(ReceiptIpFilter ipFilter)

        A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.

        Parameters:
        ipFilter - A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object