Class ReceiptFilter
java.lang.Object
com.amazonaws.services.simpleemail.model.ReceiptFilter
- All Implemented Interfaces:
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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanA structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.getName()The name of the IP address filter.inthashCode()voidsetIpFilter(ReceiptIpFilter ipFilter) A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.voidThe name of the IP address filter.toString()Returns a string representation of this object; useful for testing and debugging.withIpFilter(ReceiptIpFilter ipFilter) A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.The name of the IP address filter.
-
Constructor Details
-
ReceiptFilter
public ReceiptFilter()
-
-
Method Details
-
setName
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withName
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIpFilter
A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
- Parameters:
ipFilter- A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
-
getIpFilter
A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
- Returns:
- A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
-
withIpFilter
A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
- Parameters:
ipFilter- A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-