public static interface GetBotsResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetBotsResponse.Builder,GetBotsResponse>
| Modifier and Type | Method and Description |
|---|---|
GetBotsResponse.Builder |
bots(BotMetadata... bots)
An array of
botMetadata objects, with one entry for each bot. |
GetBotsResponse.Builder |
bots(Collection<BotMetadata> bots)
An array of
botMetadata objects, with one entry for each bot. |
GetBotsResponse.Builder |
bots(Consumer<BotMetadata.Builder>... bots)
An array of
botMetadata objects, with one entry for each bot. |
GetBotsResponse.Builder |
nextToken(String nextToken)
If the response is truncated, it includes a pagination token that you can specify in your next request to
fetch the next page of bots.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetBotsResponse.Builder bots(Collection<BotMetadata> bots)
An array of botMetadata objects, with one entry for each bot.
bots - An array of botMetadata objects, with one entry for each bot.GetBotsResponse.Builder bots(BotMetadata... bots)
An array of botMetadata objects, with one entry for each bot.
bots - An array of botMetadata objects, with one entry for each bot.GetBotsResponse.Builder bots(Consumer<BotMetadata.Builder>... bots)
An array of botMetadata objects, with one entry for each bot.
BotMetadata.Builder avoiding the need to
create one manually via BotMetadata.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #bots(List.
bots - a consumer that will call methods on
BotMetadata.Builder#bots(java.util.Collection) GetBotsResponse.Builder nextToken(String nextToken)
If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of bots.
nextToken - If the response is truncated, it includes a pagination token that you can specify in your next request
to fetch the next page of bots.Copyright © 2023. All rights reserved.