public static final class StopActionConfig.Builder
extends java.lang.Object
StopActionConfig
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StopActionConfig |
build()
Builds the configured instance.
|
StopActionConfig.Builder |
scope(java.lang.String scope)
Sets the value of
StopActionConfig.getScope() |
StopActionConfig.Builder |
topicArn(java.lang.String topicArn)
Sets the value of
StopActionConfig.getTopicArn() |
public StopActionConfig.Builder scope(java.lang.String scope)
StopActionConfig.getScope()
scope
- The scope of the StopAction. This parameter is required.
The only acceptable value is RuleSet.this
public StopActionConfig.Builder topicArn(java.lang.String topicArn)
StopActionConfig.getTopicArn()
topicArn
- The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken.this
public StopActionConfig build()
StopActionConfig
java.lang.NullPointerException
- if any required attribute was not provided