public class CreateReceiptFilterRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a new IP address filter.
For information about setting up IP address filters, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Constructor and Description |
---|
CreateReceiptFilterRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ReceiptFilter |
getFilter()
A data structure that describes the IP address filter to create, which
consists of a name, an IP address range, and whether to allow or block
mail from it.
|
int |
hashCode() |
void |
setFilter(ReceiptFilter filter)
A data structure that describes the IP address filter to create, which
consists of a name, an IP address range, and whether to allow or block
mail from it.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateReceiptFilterRequest |
withFilter(ReceiptFilter filter)
A data structure that describes the IP address filter to create, which
consists of a name, an IP address range, and whether to allow or block
mail from it.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public ReceiptFilter getFilter()
A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
public void setFilter(ReceiptFilter filter)
A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
filter
- A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
public CreateReceiptFilterRequest withFilter(ReceiptFilter filter)
A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
Returns a reference to this object so that method calls can be chained together.
filter
- A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
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.