Interface GetBotResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChimeResponse.Builder
,CopyableBuilder<GetBotResponse.Builder,
,GetBotResponse> SdkBuilder<GetBotResponse.Builder,
,GetBotResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetBotResponse
public static interface GetBotResponse.Builder
extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<GetBotResponse.Builder,GetBotResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetBotResponse.Builder
bot
(Consumer<Bot.Builder> bot) The chat bot details.The chat bot details.Methods inherited from interface software.amazon.awssdk.services.chime.model.ChimeResponse.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 Details
-
bot
The chat bot details.
- Parameters:
bot
- The chat bot details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bot
The chat bot details.
This is a convenience method that creates an instance of theBot.Builder
avoiding the need to create one manually viaBot.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobot(Bot)
.- Parameters:
bot
- a consumer that will call methods onBot.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-