Class CfnReceiptFilterProps.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnReceiptFilterProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReceiptFilterProps>
- Enclosing interface:
CfnReceiptFilterProps
@Stability(Stable)
public static final class CfnReceiptFilterProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReceiptFilterProps>
A builder for
CfnReceiptFilterProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.filter
(IResolvable filter) Sets the value ofCfnReceiptFilterProps.getFilter()
Sets the value ofCfnReceiptFilterProps.getFilter()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filter
Sets the value ofCfnReceiptFilterProps.getFilter()
- Parameters:
filter
- A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it. This parameter is required.- Returns:
this
-
filter
@Stability(Stable) public CfnReceiptFilterProps.Builder filter(CfnReceiptFilter.FilterProperty filter) Sets the value ofCfnReceiptFilterProps.getFilter()
- Parameters:
filter
- A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnReceiptFilterProps>
- Returns:
- a new instance of
CfnReceiptFilterProps
- Throws:
NullPointerException
- if any required attribute was not provided
-