Interface CreateSlackChannelConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChatbotResponse.Builder
,CopyableBuilder<CreateSlackChannelConfigurationResponse.Builder,
,CreateSlackChannelConfigurationResponse> SdkBuilder<CreateSlackChannelConfigurationResponse.Builder,
,CreateSlackChannelConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateSlackChannelConfigurationResponse
@Mutable
@NotThreadSafe
public static interface CreateSlackChannelConfigurationResponse.Builder
extends ChatbotResponse.Builder, SdkPojo, CopyableBuilder<CreateSlackChannelConfigurationResponse.Builder,CreateSlackChannelConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelConfiguration
(Consumer<SlackChannelConfiguration.Builder> channelConfiguration) The configuration for a Slack channel configured with AWS Chatbot.channelConfiguration
(SlackChannelConfiguration channelConfiguration) The configuration for a Slack channel configured with AWS Chatbot.Methods inherited from interface software.amazon.awssdk.services.chatbot.model.ChatbotResponse.Builder
build, responseMetadata, responseMetadata
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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channelConfiguration
CreateSlackChannelConfigurationResponse.Builder channelConfiguration(SlackChannelConfiguration channelConfiguration) The configuration for a Slack channel configured with AWS Chatbot.
- Parameters:
channelConfiguration
- The configuration for a Slack channel configured with AWS Chatbot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelConfiguration
default CreateSlackChannelConfigurationResponse.Builder channelConfiguration(Consumer<SlackChannelConfiguration.Builder> channelConfiguration) The configuration for a Slack channel configured with AWS Chatbot.
This is a convenience method that creates an instance of theSlackChannelConfiguration.Builder
avoiding the need to create one manually viaSlackChannelConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochannelConfiguration(SlackChannelConfiguration)
.- Parameters:
channelConfiguration
- a consumer that will call methods onSlackChannelConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-