@Stability(value=Experimental) public static final class ReceiptRule.Builder extends Object implements software.amazon.jsii.Builder<ReceiptRule>
ReceiptRule
.Modifier and Type | Method and Description |
---|---|
ReceiptRule.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.
|
ReceiptRule.Builder |
after(IReceiptRule after)
(experimental) An existing rule after which the new rule will be placed.
|
ReceiptRule |
build() |
static ReceiptRule.Builder |
create(software.constructs.Construct scope,
String id) |
ReceiptRule.Builder |
enabled(Boolean enabled)
(experimental) Whether the rule is active.
|
ReceiptRule.Builder |
receiptRuleName(String receiptRuleName)
(experimental) The name for the rule.
|
ReceiptRule.Builder |
recipients(List<String> recipients)
(experimental) The recipient domains and email addresses that the receipt rule applies to.
|
ReceiptRule.Builder |
ruleSet(IReceiptRuleSet ruleSet)
(experimental) The name of the rule set that the receipt rule will be added to.
|
ReceiptRule.Builder |
scanEnabled(Boolean scanEnabled)
(experimental) Whether to scan for spam and viruses.
|
ReceiptRule.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 ReceiptRule.Builder create(software.constructs.Construct scope, String id)
scope
- This parameter is required.id
- This parameter is required.ReceiptRule.Builder
.@Stability(value=Experimental) public ReceiptRule.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 ReceiptRule.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 ReceiptRule.Builder enabled(Boolean enabled)
Default: true
enabled
- Whether the rule is active. This parameter is required.this
@Stability(value=Experimental) public ReceiptRule.Builder receiptRuleName(String receiptRuleName)
Default: - A CloudFormation generated name.
receiptRuleName
- The name for the rule. This parameter is required.this
@Stability(value=Experimental) public ReceiptRule.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 ReceiptRule.Builder scanEnabled(Boolean scanEnabled)
Default: false
scanEnabled
- Whether to scan for spam and viruses. This parameter is required.this
@Stability(value=Experimental) public ReceiptRule.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 ReceiptRule.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 ReceiptRule build()
build
in interface software.amazon.jsii.Builder<ReceiptRule>
Copyright © 2021. All rights reserved.