@Stability(value=Experimental) public static final class ReceiptRuleOptions.Builder extends Object implements software.amazon.jsii.Builder<ReceiptRuleOptions>
ReceiptRuleOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ReceiptRuleOptions.Builder |
actions(List<? extends IReceiptRuleAction> actions)
Sets the value of
ReceiptRuleOptions.getActions() |
ReceiptRuleOptions.Builder |
after(IReceiptRule after)
Sets the value of
ReceiptRuleOptions.getAfter() |
ReceiptRuleOptions |
build()
Builds the configured instance.
|
ReceiptRuleOptions.Builder |
enabled(Boolean enabled)
Sets the value of
ReceiptRuleOptions.getEnabled() |
ReceiptRuleOptions.Builder |
receiptRuleName(String receiptRuleName)
Sets the value of
ReceiptRuleOptions.getReceiptRuleName() |
ReceiptRuleOptions.Builder |
recipients(List<String> recipients)
Sets the value of
ReceiptRuleOptions.getRecipients() |
ReceiptRuleOptions.Builder |
scanEnabled(Boolean scanEnabled)
Sets the value of
ReceiptRuleOptions.getScanEnabled() |
ReceiptRuleOptions.Builder |
tlsPolicy(TlsPolicy tlsPolicy)
Sets the value of
ReceiptRuleOptions.getTlsPolicy() |
@Stability(value=Experimental) public ReceiptRuleOptions.Builder actions(List<? extends IReceiptRuleAction> actions)
ReceiptRuleOptions.getActions()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@Stability(value=Experimental) public ReceiptRuleOptions.Builder after(IReceiptRule after)
ReceiptRuleOptions.getAfter()after - An existing rule after which the new rule will be placed.this@Stability(value=Experimental) public ReceiptRuleOptions.Builder enabled(Boolean enabled)
ReceiptRuleOptions.getEnabled()enabled - Whether the rule is active.this@Stability(value=Experimental) public ReceiptRuleOptions.Builder receiptRuleName(String receiptRuleName)
ReceiptRuleOptions.getReceiptRuleName()receiptRuleName - The name for the rule.this@Stability(value=Experimental) public ReceiptRuleOptions.Builder recipients(List<String> recipients)
ReceiptRuleOptions.getRecipients()recipients - The recipient domains and email addresses that the receipt rule applies to.this@Stability(value=Experimental) public ReceiptRuleOptions.Builder scanEnabled(Boolean scanEnabled)
ReceiptRuleOptions.getScanEnabled()scanEnabled - Whether to scan for spam and viruses.this@Stability(value=Experimental) public ReceiptRuleOptions.Builder tlsPolicy(TlsPolicy tlsPolicy)
ReceiptRuleOptions.getTlsPolicy()tlsPolicy - Whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS).this@Stability(value=Experimental) public ReceiptRuleOptions build()
build in interface software.amazon.jsii.Builder<ReceiptRuleOptions>ReceiptRuleOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.