public static interface UpdateBotResponse.Builder extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<UpdateBotResponse.Builder,UpdateBotResponse>
| Modifier and Type | Method and Description |
|---|---|
UpdateBotResponse.Builder |
bot(Bot bot)
The updated bot details.
|
default UpdateBotResponse.Builder |
bot(Consumer<Bot.Builder> bot)
The updated bot details.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateBotResponse.Builder bot(Bot bot)
The updated bot details.
bot - The updated bot details.default UpdateBotResponse.Builder bot(Consumer<Bot.Builder> bot)
The updated bot details.
This is a convenience method that creates an instance of theBot.Builder avoiding the need to create
one manually via Bot.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to bot(Bot).
bot - a consumer that will call methods on Bot.Builderbot(Bot)Copyright © 2022. All rights reserved.