@Stability(value=Stable) public static final class CfnReceiptFilter.IpFilterProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnReceiptFilter.IpFilterProperty>
CfnReceiptFilter.IpFilterProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnReceiptFilter.IpFilterProperty |
build()
Builds the configured instance.
|
CfnReceiptFilter.IpFilterProperty.Builder |
cidr(String cidr)
Sets the value of
CfnReceiptFilter.IpFilterProperty.getCidr() |
CfnReceiptFilter.IpFilterProperty.Builder |
policy(String policy)
Sets the value of
CfnReceiptFilter.IpFilterProperty.getPolicy() |
@Stability(value=Stable) public CfnReceiptFilter.IpFilterProperty.Builder cidr(String cidr)
CfnReceiptFilter.IpFilterProperty.getCidr()cidr - A single IP address or a range of IP addresses to block or allow, specified in Classless Inter-Domain Routing (CIDR) notation. This parameter is required.
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 .this@Stability(value=Stable) public CfnReceiptFilter.IpFilterProperty.Builder policy(String policy)
CfnReceiptFilter.IpFilterProperty.getPolicy()policy - Indicates whether to block or allow incoming mail from the specified IP addresses. This parameter is required.this@Stability(value=Stable) public CfnReceiptFilter.IpFilterProperty build()
build in interface software.amazon.jsii.Builder<CfnReceiptFilter.IpFilterProperty>CfnReceiptFilter.IpFilterPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.