CopyableBuilder<GetBotsResponse.Builder,GetBotsResponse>
, SdkBuilder<GetBotsResponse.Builder,GetBotsResponse>
public static interface GetBotsResponse.Builder extends CopyableBuilder<GetBotsResponse.Builder,GetBotsResponse>
Modifier and Type | Method | Description |
---|---|---|
GetBotsResponse.Builder |
bots(Collection<BotMetadata> 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. |
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.
|
copy
apply, build
GetBotsResponse.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.
NOTE: This method appends the values to the existing list (if any). Use
#setBots(java.util.Collection)
or #withBots(java.util.Collection)
if you want to override the
existing values.
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.
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.