public class ReceiptFilter
extends java.lang.Object
implements java.io.Serializable
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 |
---|---|
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.
|
public java.lang.String getName()
The name of the IP address filter. The name must:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
The name of the IP address filter. The name must:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
public void setName(java.lang.String name)
The name of the IP address filter. The name must:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), 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:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
public ReceiptFilter withName(java.lang.String name)
The name of the IP address filter. The name must:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
Returns a reference to this object so that method calls can be chained together.
name
- The name of the IP address filter. The name must:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
public ReceiptIpFilter getIpFilter()
A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
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 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.
Returns a reference to this object so that method calls can be chained together.
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 int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.