Class ReceiptFilterProps.Builder
java.lang.Object
software.amazon.awscdk.services.ses.ReceiptFilterProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ReceiptFilterProps>
- Enclosing interface:
ReceiptFilterProps
@Stability(Stable)
public static final class ReceiptFilterProps.Builder
extends Object
implements software.amazon.jsii.Builder<ReceiptFilterProps>
A builder for
ReceiptFilterProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofReceiptFilterProps.getIp()policy(ReceiptFilterPolicy policy) Sets the value ofReceiptFilterProps.getPolicy()receiptFilterName(String receiptFilterName) Sets the value ofReceiptFilterProps.getReceiptFilterName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ip
Sets the value ofReceiptFilterProps.getIp()- Parameters:
ip- The ip address or range to filter.- Returns:
this
-
policy
Sets the value ofReceiptFilterProps.getPolicy()- Parameters:
policy- The policy for the filter.- Returns:
this
-
receiptFilterName
Sets the value ofReceiptFilterProps.getReceiptFilterName()- Parameters:
receiptFilterName- The name for the receipt filter.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ReceiptFilterProps>- Returns:
- a new instance of
ReceiptFilterProps - Throws:
NullPointerException- if any required attribute was not provided
-