public static final class CfnReceiptFilter.FilterProperty.Builder
extends java.lang.Object
CfnReceiptFilter.FilterProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnReceiptFilter.FilterProperty |
build()
Builds the configured instance.
|
CfnReceiptFilter.FilterProperty.Builder |
ipFilter(CfnReceiptFilter.IpFilterProperty ipFilter)
Sets the value of
CfnReceiptFilter.FilterProperty.getIpFilter() |
CfnReceiptFilter.FilterProperty.Builder |
ipFilter(IResolvable ipFilter)
Sets the value of
CfnReceiptFilter.FilterProperty.getIpFilter() |
CfnReceiptFilter.FilterProperty.Builder |
name(java.lang.String name)
Sets the value of
CfnReceiptFilter.FilterProperty.getName() |
public CfnReceiptFilter.FilterProperty.Builder ipFilter(IResolvable ipFilter)
CfnReceiptFilter.FilterProperty.getIpFilter()
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.this
public CfnReceiptFilter.FilterProperty.Builder ipFilter(CfnReceiptFilter.IpFilterProperty ipFilter)
CfnReceiptFilter.FilterProperty.getIpFilter()
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.this
public CfnReceiptFilter.FilterProperty.Builder name(java.lang.String name)
CfnReceiptFilter.FilterProperty.getName()
name
- The name of the IP address filter. The name must meet the following requirements:.
this
public CfnReceiptFilter.FilterProperty build()
CfnReceiptFilter.FilterProperty
java.lang.NullPointerException
- if any required attribute was not provided