Class CfnReceiptRuleMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnReceiptRuleMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReceiptRuleMixinProps>
- Enclosing interface:
CfnReceiptRuleMixinProps
@Stability(Stable)
public static final class CfnReceiptRuleMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReceiptRuleMixinProps>
A builder for
CfnReceiptRuleMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnReceiptRuleMixinProps.getAfter()build()Builds the configured instance.Sets the value ofCfnReceiptRuleMixinProps.getRule()rule(IResolvable rule) Sets the value ofCfnReceiptRuleMixinProps.getRule()ruleSetName(String ruleSetName) Sets the value ofCfnReceiptRuleMixinProps.getRuleSetName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
after
Sets the value ofCfnReceiptRuleMixinProps.getAfter()- Parameters:
after- The name of an existing rule after which the new rule is placed. If this parameter is null, the new rule is inserted at the beginning of the rule list.- Returns:
this
-
rule
Sets the value ofCfnReceiptRuleMixinProps.getRule()- Parameters:
rule- A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.- Returns:
this
-
rule
@Stability(Stable) public CfnReceiptRuleMixinProps.Builder rule(CfnReceiptRulePropsMixin.RuleProperty rule) Sets the value ofCfnReceiptRuleMixinProps.getRule()- Parameters:
rule- A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.- Returns:
this
-
ruleSetName
Sets the value ofCfnReceiptRuleMixinProps.getRuleSetName()- Parameters:
ruleSetName- The name of the rule set where the receipt rule is added.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReceiptRuleMixinProps>- Returns:
- a new instance of
CfnReceiptRuleMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-