Class CfnReceiptRulePropsMixin.StopActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnReceiptRulePropsMixin.StopActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReceiptRulePropsMixin.StopActionProperty>
- Enclosing interface:
CfnReceiptRulePropsMixin.StopActionProperty
@Stability(Stable)
public static final class CfnReceiptRulePropsMixin.StopActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReceiptRulePropsMixin.StopActionProperty>
A builder for
CfnReceiptRulePropsMixin.StopActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnReceiptRulePropsMixin.StopActionProperty.getScope()Sets the value ofCfnReceiptRulePropsMixin.StopActionProperty.getTopicArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scope
Sets the value ofCfnReceiptRulePropsMixin.StopActionProperty.getScope()- Parameters:
scope- The scope of the StopAction. The only acceptable value isRuleSet.- Returns:
this
-
topicArn
@Stability(Stable) public CfnReceiptRulePropsMixin.StopActionProperty.Builder topicArn(String topicArn) Sets the value ofCfnReceiptRulePropsMixin.StopActionProperty.getTopicArn()- Parameters:
topicArn- The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. You can find the ARN of a topic by using the ListTopics Amazon SNS operation.For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReceiptRulePropsMixin.StopActionProperty>- Returns:
- a new instance of
CfnReceiptRulePropsMixin.StopActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-