Interface CreateSlackChannelConfigurationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChatbotResponse.Builder,CopyableBuilder<CreateSlackChannelConfigurationResponse.Builder,CreateSlackChannelConfigurationResponse>,SdkBuilder<CreateSlackChannelConfigurationResponse.Builder,CreateSlackChannelConfigurationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateSlackChannelConfigurationResponse
public static interface CreateSlackChannelConfigurationResponse.Builder extends ChatbotResponse.Builder, SdkPojo, CopyableBuilder<CreateSlackChannelConfigurationResponse.Builder,CreateSlackChannelConfigurationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateSlackChannelConfigurationResponse.BuilderchannelConfiguration(Consumer<SlackChannelConfiguration.Builder> channelConfiguration)The configuration for a Slack channel configured with AWS Chatbot.CreateSlackChannelConfigurationResponse.BuilderchannelConfiguration(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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.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:
channelConfiguration(SlackChannelConfiguration)
-
-