Class ReceiptFilter
- java.lang.Object
-
- software.amazon.awssdk.services.ses.model.ReceiptFilter
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReceiptFilter.Builder,ReceiptFilter>
@Generated("software.amazon.awssdk:codegen") public final class ReceiptFilter extends Object implements SdkPojo, Serializable, 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReceiptFilter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReceiptFilter.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ReceiptIpFilteripFilter()A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.Stringname()The name of the IP address filter.List<SdkField<?>>sdkFields()static Class<? extends ReceiptFilter.Builder>serializableBuilderClass()ReceiptFilter.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String 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
public final 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 structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
-
toBuilder
public ReceiptFilter.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReceiptFilter.Builder,ReceiptFilter>
-
builder
public static ReceiptFilter.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReceiptFilter.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-