public static final class CfnReceiptFilterProps.Builder
extends java.lang.Object
CfnReceiptFilterProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnReceiptFilterProps |
build()
Builds the configured instance.
|
CfnReceiptFilterProps.Builder |
filter(CfnReceiptFilter.FilterProperty filter)
Sets the value of
CfnReceiptFilterProps.getFilter() |
CfnReceiptFilterProps.Builder |
filter(IResolvable filter)
Sets the value of
CfnReceiptFilterProps.getFilter() |
public CfnReceiptFilterProps.Builder filter(IResolvable filter)
CfnReceiptFilterProps.getFilter()
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.this
public CfnReceiptFilterProps.Builder filter(CfnReceiptFilter.FilterProperty filter)
CfnReceiptFilterProps.getFilter()
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.this
public CfnReceiptFilterProps build()
CfnReceiptFilterProps
java.lang.NullPointerException
- if any required attribute was not provided