@Stability(value=Stable) public static final class ReceiptRuleSet.Builder extends Object implements software.amazon.jsii.Builder<ReceiptRuleSet>
ReceiptRuleSet.| Modifier and Type | Method and Description |
|---|---|
ReceiptRuleSet |
build() |
static ReceiptRuleSet.Builder |
create(software.constructs.Construct scope,
String id) |
ReceiptRuleSet.Builder |
dropSpam(Boolean dropSpam)
Whether to add a first rule to stop processing messages that have at least one spam indicator.
|
ReceiptRuleSet.Builder |
receiptRuleSetName(String receiptRuleSetName)
The name for the receipt rule set.
|
ReceiptRuleSet.Builder |
rules(List<? extends ReceiptRuleOptions> rules)
The list of rules to add to this rule set.
|
@Stability(value=Stable) public static ReceiptRuleSet.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.ReceiptRuleSet.Builder.@Stability(value=Stable) public ReceiptRuleSet.Builder dropSpam(Boolean dropSpam)
Default: false
dropSpam - Whether to add a first rule to stop processing messages that have at least one spam indicator. This parameter is required.this@Stability(value=Stable) public ReceiptRuleSet.Builder receiptRuleSetName(String receiptRuleSetName)
Default: - A CloudFormation generated name.
receiptRuleSetName - The name for the receipt rule set. This parameter is required.this@Stability(value=Stable) public ReceiptRuleSet.Builder rules(List<? extends ReceiptRuleOptions> rules)
Rules are added in the same order as they appear in the list.
Default: - No rules are added to the rule set.
rules - The list of rules to add to this rule set. This parameter is required.this@Stability(value=Stable) public ReceiptRuleSet build()
build in interface software.amazon.jsii.Builder<ReceiptRuleSet>Copyright © 2022. All rights reserved.