@Stability(value=Experimental) public static final class ReceiptRuleSetProps.Builder extends Object implements software.amazon.jsii.Builder<ReceiptRuleSetProps>
ReceiptRuleSetProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ReceiptRuleSetProps |
build()
Builds the configured instance.
|
ReceiptRuleSetProps.Builder |
dropSpam(Boolean dropSpam)
Sets the value of
ReceiptRuleSetProps.getDropSpam() |
ReceiptRuleSetProps.Builder |
receiptRuleSetName(String receiptRuleSetName)
Sets the value of
ReceiptRuleSetProps.getReceiptRuleSetName() |
ReceiptRuleSetProps.Builder |
rules(List<? extends ReceiptRuleOptions> rules)
Sets the value of
ReceiptRuleSetProps.getRules() |
@Stability(value=Experimental) public ReceiptRuleSetProps.Builder dropSpam(Boolean dropSpam)
ReceiptRuleSetProps.getDropSpam()dropSpam - Whether to add a first rule to stop processing messages that have at least one spam indicator.this@Stability(value=Experimental) public ReceiptRuleSetProps.Builder receiptRuleSetName(String receiptRuleSetName)
ReceiptRuleSetProps.getReceiptRuleSetName()receiptRuleSetName - The name for the receipt rule set.this@Stability(value=Experimental) public ReceiptRuleSetProps.Builder rules(List<? extends ReceiptRuleOptions> rules)
ReceiptRuleSetProps.getRules()rules - The list of rules to add to this rule set.
Rules are added in the same
order as they appear in the list.this@Stability(value=Experimental) public ReceiptRuleSetProps build()
build in interface software.amazon.jsii.Builder<ReceiptRuleSetProps>ReceiptRuleSetPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.