public static interface GetBotVersionsResponse.Builder extends LexModelBuildingResponse.Builder, CopyableBuilder<GetBotVersionsResponse.Builder,GetBotVersionsResponse>
Modifier and Type | Method and Description |
---|---|
GetBotVersionsResponse.Builder |
bots(BotMetadata... bots)
An array of
BotMetadata objects, one for each numbered version of the bot plus one for the
$LATEST version. |
GetBotVersionsResponse.Builder |
bots(Collection<BotMetadata> bots)
An array of
BotMetadata objects, one for each numbered version of the bot plus one for the
$LATEST version. |
GetBotVersionsResponse.Builder |
bots(Consumer<BotMetadata.Builder>... bots)
An array of
BotMetadata objects, one for each numbered version of the bot plus one for the
$LATEST version. |
GetBotVersionsResponse.Builder |
nextToken(String nextToken)
A pagination token for fetching the next page of bot versions.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetBotVersionsResponse.Builder bots(Collection<BotMetadata> bots)
An array of BotMetadata
objects, one for each numbered version of the bot plus one for the
$LATEST
version.
bots
- An array of BotMetadata
objects, one for each numbered version of the bot plus one for
the $LATEST
version.GetBotVersionsResponse.Builder bots(BotMetadata... bots)
An array of BotMetadata
objects, one for each numbered version of the bot plus one for the
$LATEST
version.
bots
- An array of BotMetadata
objects, one for each numbered version of the bot plus one for
the $LATEST
version.GetBotVersionsResponse.Builder bots(Consumer<BotMetadata.Builder>... bots)
An array of BotMetadata
objects, one for each numbered version of the bot plus one for the
$LATEST
version.
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #bots(List)
.bots
- a consumer that will call methods on List.Builder
#bots(List)
GetBotVersionsResponse.Builder nextToken(String nextToken)
A pagination token for fetching the next page of bot versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request.
nextToken
- A pagination token for fetching the next page of bot versions. If the response to this call is
truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions,
specify the pagination token in the next request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.