@Stability(value=Experimental) public static final class DropSpamReceiptRule.Builder extends Object implements software.amazon.jsii.Builder<DropSpamReceiptRule>
DropSpamReceiptRule.| Modifier and Type | Method and Description |
|---|---|
DropSpamReceiptRule.Builder |
actions(List<? extends IReceiptRuleAction> actions)
(experimental) An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule.
|
DropSpamReceiptRule.Builder |
after(IReceiptRule after)
(experimental) An existing rule after which the new rule will be placed.
|
DropSpamReceiptRule |
build() |
static DropSpamReceiptRule.Builder |
create(software.constructs.Construct scope,
String id) |
DropSpamReceiptRule.Builder |
enabled(Boolean enabled)
(experimental) Whether the rule is active.
|
DropSpamReceiptRule.Builder |
receiptRuleName(String receiptRuleName)
(experimental) The name for the rule.
|
DropSpamReceiptRule.Builder |
recipients(List<String> recipients)
(experimental) The recipient domains and email addresses that the receipt rule applies to.
|
DropSpamReceiptRule.Builder |
ruleSet(IReceiptRuleSet ruleSet)
(experimental) The name of the rule set that the receipt rule will be added to.
|
DropSpamReceiptRule.Builder |
scanEnabled(Boolean scanEnabled)
(experimental) Whether to scan for spam and viruses.
|
DropSpamReceiptRule.Builder |
tlsPolicy(TlsPolicy tlsPolicy)
(experimental) Whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS).
|
@Stability(value=Experimental) public static DropSpamReceiptRule.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.DropSpamReceiptRule.Builder.@Stability(value=Experimental) public DropSpamReceiptRule.Builder actions(List<? extends IReceiptRuleAction> actions)
Default: - No actions.
actions - An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule. This parameter is required.this@Stability(value=Experimental) public DropSpamReceiptRule.Builder after(IReceiptRule after)
Default: - The new rule is inserted at the beginning of the rule list.
after - An existing rule after which the new rule will be placed. This parameter is required.this@Stability(value=Experimental) public DropSpamReceiptRule.Builder enabled(Boolean enabled)
Default: true
enabled - Whether the rule is active. This parameter is required.this@Stability(value=Experimental) public DropSpamReceiptRule.Builder receiptRuleName(String receiptRuleName)
Default: - A CloudFormation generated name.
receiptRuleName - The name for the rule. This parameter is required.this@Stability(value=Experimental) public DropSpamReceiptRule.Builder recipients(List<String> recipients)
Default: - Match all recipients under all verified domains.
recipients - The recipient domains and email addresses that the receipt rule applies to. This parameter is required.this@Stability(value=Experimental) public DropSpamReceiptRule.Builder scanEnabled(Boolean scanEnabled)
Default: false
scanEnabled - Whether to scan for spam and viruses. This parameter is required.this@Stability(value=Experimental) public DropSpamReceiptRule.Builder tlsPolicy(TlsPolicy tlsPolicy)
Default: - Optional which will not check for TLS.
tlsPolicy - Whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). This parameter is required.this@Stability(value=Experimental) public DropSpamReceiptRule.Builder ruleSet(IReceiptRuleSet ruleSet)
ruleSet - The name of the rule set that the receipt rule will be added to. This parameter is required.this@Stability(value=Experimental) public DropSpamReceiptRule build()
build in interface software.amazon.jsii.Builder<DropSpamReceiptRule>Copyright © 2021. All rights reserved.