Class CfnReceiptRule.StopActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnReceiptRule.StopActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReceiptRule.StopActionProperty>
- Enclosing interface:
CfnReceiptRule.StopActionProperty
@Stability(Stable)
public static final class CfnReceiptRule.StopActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReceiptRule.StopActionProperty>
A builder for
CfnReceiptRule.StopActionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnReceiptRule.StopActionProperty.getScope()
Sets the value ofCfnReceiptRule.StopActionProperty.getTopicArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scope
Sets the value ofCfnReceiptRule.StopActionProperty.getScope()
- Parameters:
scope
- The scope of the StopAction. This parameter is required. The only acceptable value isRuleSet
.- Returns:
this
-
topicArn
Sets the value ofCfnReceiptRule.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnReceiptRule.StopActionProperty>
- Returns:
- a new instance of
CfnReceiptRule.StopActionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-