public class ListReceiptFiltersResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<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.
|
Constructor and Description |
---|
ListReceiptFiltersResult() |
Modifier and Type | Method and Description |
---|---|
ListReceiptFiltersResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.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(java.util.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListReceiptFiltersResult |
withFilters(java.util.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.
|
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.
|
private SdkInternalList<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.
public java.util.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.
public void setFilters(java.util.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.
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.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.
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.public ListReceiptFiltersResult withFilters(java.util.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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListReceiptFiltersResult clone()
clone
in class java.lang.Object