Interface ChatChannel.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ChatChannel.Builder,
,ChatChannel> SdkBuilder<ChatChannel.Builder,
,ChatChannel> SdkPojo
- Enclosing class:
ChatChannel
public static interface ChatChannel.Builder
extends SdkPojo, CopyableBuilder<ChatChannel.Builder,ChatChannel>
-
Method Summary
Modifier and TypeMethodDescriptionchatbotSns
(String... chatbotSns) The Amazon SNS targets that Chatbot uses to notify the chat channel of updates to an incident.chatbotSns
(Collection<String> chatbotSns) The Amazon SNS targets that Chatbot uses to notify the chat channel of updates to an incident.default ChatChannel.Builder
empty
(Consumer<EmptyChatChannel.Builder> empty) Used to remove the chat channel from an incident record or response plan.empty
(EmptyChatChannel empty) Used to remove the chat channel from an incident record or response plan.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
chatbotSns
The Amazon SNS targets that 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 Amazon SNS topics.
- Parameters:
chatbotSns
- The Amazon SNS targets that 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 Amazon SNS topics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chatbotSns
The Amazon SNS targets that 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 Amazon SNS topics.
- Parameters:
chatbotSns
- The Amazon SNS targets that 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 Amazon SNS topics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
empty
Used to remove the chat channel from an incident record or response plan.
- Parameters:
empty
- Used to remove the chat channel from an incident record or response plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
empty
Used to remove the chat channel from an incident record or response plan.
This is a convenience method that creates an instance of theEmptyChatChannel.Builder
avoiding the need to create one manually viaEmptyChatChannel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toempty(EmptyChatChannel)
.- Parameters:
empty
- a consumer that will call methods onEmptyChatChannel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-