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 void setName(String name)
The name of the IP address filter. The name must:
name
- The name of the IP address filter. The name must:
public String getName()
The name of the IP address filter. The name must:
public ReceiptFilter withName(String name)
The name of the IP address filter. The name must:
name
- The name of the IP address filter. The name must:
public 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.
ipFilter
- A structure that provides the IP addresses to block or allow, and
whether to block or allow incoming mail from them.public ReceiptIpFilter getIpFilter()
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)
A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
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 Object
Object.toString()
public ReceiptFilter clone()
Copyright © 2016. All rights reserved.