Class ReceiptRuleAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.ses.ReceiptRuleAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ReceiptRuleAttributes>
- Enclosing interface:
ReceiptRuleAttributes
@Stability(Stable)
public static final class ReceiptRuleAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<ReceiptRuleAttributes>
A builder for
ReceiptRuleAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.receiptRuleName(String receiptRuleName) Sets the value ofReceiptRuleAttributes.getReceiptRuleName()ruleSet(IReceiptRuleSetRef ruleSet) Sets the value ofReceiptRuleAttributes.getRuleSet()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
receiptRuleName
Sets the value ofReceiptRuleAttributes.getReceiptRuleName()- Parameters:
receiptRuleName- The name of the receipt rule. This parameter is required.- Returns:
this
-
ruleSet
Sets the value ofReceiptRuleAttributes.getRuleSet()- Parameters:
ruleSet- The rule set that the receipt rule belongs to. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ReceiptRuleAttributes>- Returns:
- a new instance of
ReceiptRuleAttributes - Throws:
NullPointerException- if any required attribute was not provided
-