public class ReceiptFilter extends Object implements Serializable, Cloneable
A receipt IP address filter enables you to specify whether to accept or reject mail originating from an IP address or range of IP addresses.
For information about setting up IP address filters, see the Amazon SES Developer Guide .
| Constructor and Description |
|---|
ReceiptFilter() |
| Modifier and Type | Method and Description |
|---|---|
ReceiptFilter |
clone() |
boolean |
equals(Object obj) |
ReceiptIpFilter |
getIpFilter()
A structure that provides the IP addresses to block or allow, and
whether to block or allow incoming mail from them.
|
String |
getName()
The name of the IP address filter.
|
int |
hashCode() |
void |
setIpFilter(ReceiptIpFilter ipFilter)
A structure that provides the IP addresses to block or allow, and
whether to block or allow incoming mail from them.
|
void |
setName(String name)
The name of the IP address filter.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReceiptFilter |
withIpFilter(ReceiptIpFilter ipFilter)
A structure that provides the IP addresses to block or allow, and
whether to block or allow incoming mail from them.
|
ReceiptFilter |
withName(String name)
The name of the IP address filter.
|
public String getName()
public void setName(String name)
name - The name of the IP address filter. The name must: public ReceiptFilter withName(String name)
Returns a reference to this object so that method calls can be chained together.
name - The name of the IP address filter. The name must: public ReceiptIpFilter getIpFilter()
public void setIpFilter(ReceiptIpFilter ipFilter)
ipFilter - A structure that provides the IP addresses to block or allow, and
whether to block or allow incoming mail from them.public ReceiptFilter withIpFilter(ReceiptIpFilter ipFilter)
Returns a reference to this object so that method calls can be chained together.
ipFilter - A structure that provides the IP addresses to block or allow, and
whether to block or allow incoming mail from them.public String toString()
toString in class ObjectObject.toString()public ReceiptFilter clone()
Copyright © 2015. All rights reserved.