Class CfnResponsePlan.ChatChannelProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ssmincidents.CfnResponsePlan.ChatChannelProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResponsePlan.ChatChannelProperty>
- Enclosing interface:
- CfnResponsePlan.ChatChannelProperty
@Stability(Stable)
public static final class CfnResponsePlan.ChatChannelProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResponsePlan.ChatChannelProperty>
A builder for
CfnResponsePlan.ChatChannelProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.chatbotSns
(List<String> chatbotSns) Sets the value ofCfnResponsePlan.ChatChannelProperty.getChatbotSns()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
chatbotSns
@Stability(Stable) public CfnResponsePlan.ChatChannelProperty.Builder chatbotSns(List<String> chatbotSns) Sets the value ofCfnResponsePlan.ChatChannelProperty.getChatbotSns()
- Parameters:
chatbotSns
- The SNS targets that AWS Chatbot uses to notify the chat channel of updates to an incident. You can also make updates to the incident through the chat channel by using the SNS topics- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResponsePlan.ChatChannelProperty>
- Returns:
- a new instance of
CfnResponsePlan.ChatChannelProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-