public class ListReceiptFiltersResult
extends java.lang.Object
implements java.io.Serializable
A list of IP address filters that exist under your AWS account.
Constructor and Description |
---|
ListReceiptFiltersResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
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.
Returns a reference to this object so that method calls can be chained together.
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.
Returns a reference to this object so that method calls can be chained together.
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 int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.