Interface ReceiptIpFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReceiptIpFilter.Builder,ReceiptIpFilter>,SdkBuilder<ReceiptIpFilter.Builder,ReceiptIpFilter>,SdkPojo
- Enclosing class:
- ReceiptIpFilter
public static interface ReceiptIpFilter.Builder extends SdkPojo, CopyableBuilder<ReceiptIpFilter.Builder,ReceiptIpFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReceiptIpFilter.Buildercidr(String cidr)A single IP address or a range of IP addresses to block or allow, specified in Classless Inter-Domain Routing (CIDR) notation.ReceiptIpFilter.Builderpolicy(String policy)Indicates whether to block or allow incoming mail from the specified IP addresses.ReceiptIpFilter.Builderpolicy(ReceiptFilterPolicy policy)Indicates whether to block or allow incoming mail from the specified IP addresses.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
policy
ReceiptIpFilter.Builder policy(String policy)
Indicates whether to block or allow incoming mail from the specified IP addresses.
- Parameters:
policy- Indicates whether to block or allow incoming mail from the specified IP addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReceiptFilterPolicy,ReceiptFilterPolicy
-
policy
ReceiptIpFilter.Builder policy(ReceiptFilterPolicy policy)
Indicates whether to block or allow incoming mail from the specified IP addresses.
- Parameters:
policy- Indicates whether to block or allow incoming mail from the specified IP addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReceiptFilterPolicy,ReceiptFilterPolicy
-
cidr
ReceiptIpFilter.Builder cidr(String 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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
-