Interface UpdateSlackChannelConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChatbotResponse.Builder,CopyableBuilder<UpdateSlackChannelConfigurationResponse.Builder,,UpdateSlackChannelConfigurationResponse> SdkBuilder<UpdateSlackChannelConfigurationResponse.Builder,,UpdateSlackChannelConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateSlackChannelConfigurationResponse
public static interface UpdateSlackChannelConfigurationResponse.Builder
extends ChatbotResponse.Builder, SdkPojo, CopyableBuilder<UpdateSlackChannelConfigurationResponse.Builder,UpdateSlackChannelConfigurationResponse>
-
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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channelConfiguration
UpdateSlackChannelConfigurationResponse.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 UpdateSlackChannelConfigurationResponse.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.Builderavoiding the need to create one manually viaSlackChannelConfiguration.builder().When the
Consumercompletes,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:
-