Class CfnReceiptRule.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnReceiptRule.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReceiptRule>
- Enclosing class:
- CfnReceiptRule
@Stability(Stable)
public static final class CfnReceiptRule.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReceiptRule>
A fluent builder for
CfnReceiptRule
.-
Method Summary
Modifier and TypeMethodDescriptionThe name of an existing rule after which the new rule is placed.build()
static CfnReceiptRule.Builder
rule
(IResolvable rule) A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.ruleSetName
(String ruleSetName) The name of the rule set where the receipt rule is added.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnReceiptRule.Builder
.
-
rule
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.- Parameters:
rule
- A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy. This parameter is required.- Returns:
this
-
rule
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.- Parameters:
rule
- A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy. This parameter is required.- Returns:
this
-
ruleSetName
The name of the rule set where the receipt rule is added.- Parameters:
ruleSetName
- The name of the rule set where the receipt rule is added. This parameter is required.- Returns:
this
-
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.
- Parameters:
after
- The name of an existing rule after which the new rule is placed. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnReceiptRule>
- Returns:
- a newly built instance of
CfnReceiptRule
.
-