public static interface ReceiptIpFilter.Builder extends CopyableBuilder<ReceiptIpFilter.Builder,ReceiptIpFilter>
Modifier and Type | Method and Description |
---|---|
ReceiptIpFilter.Builder |
cidr(String cidr)
A single IP address or a range of IP addresses that you want to block or allow, specified in Classless
Inter-Domain Routing (CIDR) notation.
|
ReceiptIpFilter.Builder |
policy(ReceiptFilterPolicy policy)
Indicates whether to block or allow incoming mail from the specified IP addresses.
|
ReceiptIpFilter.Builder |
policy(String policy)
Indicates whether to block or allow incoming mail from the specified IP addresses.
|
copy
apply, build
ReceiptIpFilter.Builder policy(String policy)
Indicates whether to block or allow incoming mail from the specified IP addresses.
policy
- Indicates whether to block or allow incoming mail from the specified IP addresses.ReceiptFilterPolicy
,
ReceiptFilterPolicy
ReceiptIpFilter.Builder policy(ReceiptFilterPolicy policy)
Indicates whether to block or allow incoming mail from the specified IP addresses.
policy
- Indicates whether to block or allow incoming mail from the specified IP addresses.ReceiptFilterPolicy
,
ReceiptFilterPolicy
ReceiptIpFilter.Builder cidr(String cidr)
A single IP address or a range of IP addresses that you want 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.
cidr
- A single IP address or a range of IP addresses that you want 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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.