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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetBotsResponse.Builderbots(Collection<BotMetadata> bots)An array ofbotMetadataobjects, with one entry for each bot.GetBotsResponse.Builderbots(Consumer<BotMetadata.Builder>... bots)An array ofbotMetadataobjects, with one entry for each bot.GetBotsResponse.Builderbots(BotMetadata... bots)An array ofbotMetadataobjects, with one entry for each bot.GetBotsResponse.BuildernextToken(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.-
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 Detail
-
bots
GetBotsResponse.Builder bots(Collection<BotMetadata> bots)
An array of
botMetadataobjects, with one entry for each bot.- Parameters:
bots- An array ofbotMetadataobjects, with one entry for each bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bots
GetBotsResponse.Builder bots(BotMetadata... bots)
An array of
botMetadataobjects, with one entry for each bot.- Parameters:
bots- An array ofbotMetadataobjects, with one entry for each bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bots
GetBotsResponse.Builder bots(Consumer<BotMetadata.Builder>... bots)
An array of
This is a convenience method that creates an instance of thebotMetadataobjects, with one entry for each bot.BotMetadata.Builderavoiding the need to create one manually viaBotMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#bots(List.) - 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:
#bots(java.util.Collection)
-
nextToken
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.
- 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.
-
-