Class CfnResponsePlan.NotificationTargetItemProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ssmincidents.CfnResponsePlan.NotificationTargetItemProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResponsePlan.NotificationTargetItemProperty>
- Enclosing interface:
- CfnResponsePlan.NotificationTargetItemProperty
@Stability(Stable)
public static final class CfnResponsePlan.NotificationTargetItemProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResponsePlan.NotificationTargetItemProperty>
A builder for
CfnResponsePlan.NotificationTargetItemProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.snsTopicArn
(String snsTopicArn) Sets the value ofCfnResponsePlan.NotificationTargetItemProperty.getSnsTopicArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
snsTopicArn
@Stability(Stable) public CfnResponsePlan.NotificationTargetItemProperty.Builder snsTopicArn(String snsTopicArn) Sets the value ofCfnResponsePlan.NotificationTargetItemProperty.getSnsTopicArn()
- Parameters:
snsTopicArn
- The Amazon Resource Name (ARN) of the SNS topic.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResponsePlan.NotificationTargetItemProperty>
- Returns:
- a new instance of
CfnResponsePlan.NotificationTargetItemProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-