Class CfnMitigationAction.PublishFindingToSnsParamsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnMitigationAction.PublishFindingToSnsParamsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMitigationAction.PublishFindingToSnsParamsProperty>
- Enclosing interface:
CfnMitigationAction.PublishFindingToSnsParamsProperty
@Stability(Stable)
public static final class CfnMitigationAction.PublishFindingToSnsParamsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMitigationAction.PublishFindingToSnsParamsProperty>
A builder for
CfnMitigationAction.PublishFindingToSnsParamsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnMitigationAction.PublishFindingToSnsParamsProperty.getTopicArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
topicArn
@Stability(Stable) public CfnMitigationAction.PublishFindingToSnsParamsProperty.Builder topicArn(String topicArn) Sets the value ofCfnMitigationAction.PublishFindingToSnsParamsProperty.getTopicArn()
- Parameters:
topicArn
- The ARN of the topic to which you want to publish the findings. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMitigationAction.PublishFindingToSnsParamsProperty>
- Returns:
- a new instance of
CfnMitigationAction.PublishFindingToSnsParamsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-