public static interface GetBotsResponse.Builder extends LexModelBuildingResponse.Builder, 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.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, 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.
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) 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.