Class ReceiptIpFilter
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReceiptIpFilter.Builder,ReceiptIpFilter>
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 ReceiptIpFilter.Builderbuilder()final Stringcidr()A single IP address or a range of IP addresses to block or allow, specified in Classless Inter-Domain Routing (CIDR) notation.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final ReceiptFilterPolicypolicy()Indicates whether to block or allow incoming mail from the specified IP addresses.final StringIndicates whether to block or allow incoming mail from the specified IP addresses.static Class<? extends ReceiptIpFilter.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
-
policy
Indicates whether to block or allow incoming mail from the specified IP addresses.
If the service returns an enum value that is not available in the current SDK version,
policywill returnReceiptFilterPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompolicyAsString().- Returns:
- Indicates whether to block or allow incoming mail from the specified IP addresses.
- See Also:
-
policyAsString
Indicates whether to block or allow incoming mail from the specified IP addresses.
If the service returns an enum value that is not available in the current SDK version,
policywill returnReceiptFilterPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompolicyAsString().- Returns:
- Indicates whether to block or allow incoming mail from the specified IP addresses.
- See Also:
-
cidr
A single IP address or a range of IP addresses to block or allow, specified in Classless Inter-Domain Routing (CIDR) notation. An example of a single email address is 10.0.0.1. An example of a range of IP addresses is 10.0.0.1/24. For more information about CIDR notation, see RFC 2317.
- Returns:
- A single IP address or a range of IP addresses to block or allow, specified in Classless Inter-Domain Routing (CIDR) notation. An example of a single email address is 10.0.0.1. An example of a range of IP addresses is 10.0.0.1/24. For more information about CIDR notation, see RFC 2317.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReceiptIpFilter.Builder,ReceiptIpFilter>
-
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
-