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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListReceiptFiltersResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListReceiptFiltersResult
clone()
boolean
equals(Object obj)
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.int
hashCode()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.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.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.
-
-
-
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)
orwithFilters(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListReceiptFiltersResult clone()
-
-