public class ReceiptFilter
extends java.lang.Object
implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private ReceiptIpFilter |
ipFilter
A structure that provides the IP addresses to block or allow, and whether
to block or allow incoming mail from them.
|
private java.lang.String |
name
The name of the IP address filter.
|
Constructor and Description |
---|
ReceiptFilter() |
Modifier and Type | Method and Description |
---|---|
ReceiptFilter |
clone() |
boolean |
equals(java.lang.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.
|
java.lang.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(java.lang.String name)
The name of the IP address filter.
|
java.lang.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(java.lang.String name)
The name of the IP address filter.
|
private java.lang.String name
The name of the IP address filter. The name must:
private ReceiptIpFilter ipFilter
A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
public void setName(java.lang.String name)
The name of the IP address filter. The name must:
name
- The name of the IP address filter. The name must:
public java.lang.String getName()
The name of the IP address filter. The name must:
public ReceiptFilter withName(java.lang.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 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 ReceiptFilter clone()
clone
in class java.lang.Object