Class CfnReceiptFilter.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnReceiptFilter.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReceiptFilter>
- Enclosing class:
CfnReceiptFilter
@Stability(Stable)
public static final class CfnReceiptFilter.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReceiptFilter>
A fluent builder for
CfnReceiptFilter
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnReceiptFilter.Builder
filter
(IResolvable 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.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.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnReceiptFilter.Builder
.
-
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.- 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
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.- 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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnReceiptFilter>
- Returns:
- a newly built instance of
CfnReceiptFilter
.
-