Class ListReceiptFiltersResult

    • Constructor Detail

      • ListReceiptFiltersResult

        public ListReceiptFiltersResult()
    • Method Detail

      • getFilters

        public List<ReceiptFilter> getFilters()

        A list of IP address filter data structures, which each consist of a name, an IP address range, and whether to allow or block mail from it.

        Returns:
        A list of IP address filter data structures, which each consist of a name, an IP address range, and whether to allow or block mail from it.
      • setFilters

        public void setFilters​(Collection<ReceiptFilter> filters)

        A list of IP address filter data structures, which each consist of a name, an IP address range, and whether to allow or block mail from it.

        Parameters:
        filters - A list of IP address filter data structures, which each consist of a name, an IP address range, and whether to allow or block mail from it.
      • withFilters

        public ListReceiptFiltersResult withFilters​(ReceiptFilter... filters)

        A list of IP address filter data structures, which each consist of a name, an IP address range, and whether to allow or block mail from it.

        NOTE: This method appends the values to the existing list (if any). Use setFilters(java.util.Collection) or withFilters(java.util.Collection) if you want to override the existing values.

        Parameters:
        filters - A list of IP address filter data structures, which each consist 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.
      • withFilters

        public ListReceiptFiltersResult withFilters​(Collection<ReceiptFilter> filters)

        A list of IP address filter data structures, which each consist of a name, an IP address range, and whether to allow or block mail from it.

        Parameters:
        filters - A list of IP address filter data structures, which each consist 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