Class CfnReceiptFilter.FilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnReceiptFilter.FilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReceiptFilter.FilterProperty>
- Enclosing interface:
CfnReceiptFilter.FilterProperty
@Stability(Stable)
public static final class CfnReceiptFilter.FilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReceiptFilter.FilterProperty>
A builder for
CfnReceiptFilter.FilterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ipFilter(IResolvable ipFilter) Sets the value ofCfnReceiptFilter.FilterProperty.getIpFilter()ipFilter(CfnReceiptFilter.IpFilterProperty ipFilter) Sets the value ofCfnReceiptFilter.FilterProperty.getIpFilter()Sets the value ofCfnReceiptFilter.FilterProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipFilter
Sets the value ofCfnReceiptFilter.FilterProperty.getIpFilter()- Parameters:
ipFilter- A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them. This parameter is required.- Returns:
this
-
ipFilter
@Stability(Stable) public CfnReceiptFilter.FilterProperty.Builder ipFilter(CfnReceiptFilter.IpFilterProperty ipFilter) Sets the value ofCfnReceiptFilter.FilterProperty.getIpFilter()- Parameters:
ipFilter- A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnReceiptFilter.FilterProperty.getName()- Parameters:
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:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReceiptFilter.FilterProperty>- Returns:
- a new instance of
CfnReceiptFilter.FilterProperty - Throws:
NullPointerException- if any required attribute was not provided
-