@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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.
|
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 meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain 64 characters or fewer.
name
- The name of the IP address filter. The name must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain 64 characters or fewer.
public String getName()
The name of the IP address filter. The name must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain 64 characters or fewer.
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain 64 characters or fewer.
public ReceiptFilter withName(String name)
The name of the IP address filter. The name must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain 64 characters or fewer.
name
- The name of the IP address filter. The name must meet the following requirements:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain 64 characters or fewer.
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()