Class ReceiptFilter
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReceiptFilter.Builder,ReceiptFilter>
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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ReceiptFilter.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final ReceiptIpFilteripFilter()A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.final Stringname()The name of the IP address filter.static Class<? extends ReceiptFilter.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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.
- Returns:
- 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.
-
-
-
ipFilter
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.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReceiptFilter.Builder,ReceiptFilter>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-