Class CreateReceiptFilterRequest

    • Constructor Detail

      • CreateReceiptFilterRequest

        public CreateReceiptFilterRequest()
    • Method Detail

      • setFilter

        public void setFilter​(ReceiptFilter filter)

        A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.

        Parameters:
        filter - A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
      • getFilter

        public ReceiptFilter getFilter()

        A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.

        Returns:
        A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
      • withFilter

        public CreateReceiptFilterRequest withFilter​(ReceiptFilter filter)

        A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.

        Parameters:
        filter - A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
        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