Class StopActionConfig.Builder
java.lang.Object
software.amazon.awscdk.services.ses.StopActionConfig.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<StopActionConfig>
- Enclosing interface:
 StopActionConfig
@Stability(Stable)
public static final class StopActionConfig.Builder
extends Object
implements software.amazon.jsii.Builder<StopActionConfig>
A builder for 
StopActionConfig- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofStopActionConfig.getScope()Sets the value ofStopActionConfig.getTopicArn() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
scope
Sets the value ofStopActionConfig.getScope()- Parameters:
 scope- The scope of the StopAction. This parameter is required. The only acceptable value is RuleSet.- Returns:
 this
 - 
topicArn
Sets the value ofStopActionConfig.getTopicArn()- Parameters:
 topicArn- The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<StopActionConfig>- Returns:
 - a new instance of 
StopActionConfig - Throws:
 NullPointerException- if any required attribute was not provided
 
 -