Class ListReceiptFiltersResult

java.lang.Object
com.amazonaws.services.simpleemail.model.ListReceiptFiltersResult
All Implemented Interfaces:
Serializable, Cloneable

public class ListReceiptFiltersResult extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • ListReceiptFiltersResult

      public ListReceiptFiltersResult()
  • Method Details

    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ListReceiptFiltersResult clone()
      Overrides:
      clone in class Object