Interface GetBotsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetBotsResponse.Builder,
,GetBotsResponse> LexModelBuildingResponse.Builder
,SdkBuilder<GetBotsResponse.Builder,
,GetBotsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetBotsResponse
public static interface GetBotsResponse.Builder
extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetBotsResponse.Builder,GetBotsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbots
(Collection<BotMetadata> bots) An array ofbotMetadata
objects, with one entry for each bot.bots
(Consumer<BotMetadata.Builder>... bots) An array ofbotMetadata
objects, with one entry for each bot.bots
(BotMetadata... bots) An array ofbotMetadata
objects, with one entry for each bot.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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
bots
An array of
botMetadata
objects, with one entry for each bot.- Parameters:
bots
- An array ofbotMetadata
objects, with one entry for each bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bots
An array of
botMetadata
objects, with one entry for each bot.- Parameters:
bots
- An array ofbotMetadata
objects, with one entry for each bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bots
An array of
This is a convenience method that creates an instance of thebotMetadata
objects, with one entry for each bot.BotMetadata.Builder
avoiding the need to create one manually viaBotMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobots(List<BotMetadata>)
.- Parameters:
bots
- a consumer that will call methods onBotMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-