@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; 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:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
name
- The name of the IP address filter. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
public String getName()
The name of the IP address filter. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
public ReceiptFilter withName(String name)
The name of the IP address filter. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
name
- The name of the IP address filter. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
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 © 2013 Amazon Web Services, Inc. All Rights Reserved.