Interface GetBotChannelAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetBotChannelAssociationsResponse.Builder,
,GetBotChannelAssociationsResponse> LexModelBuildingResponse.Builder
,SdkBuilder<GetBotChannelAssociationsResponse.Builder,
,GetBotChannelAssociationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetBotChannelAssociationsResponse
-
Method Summary
Modifier and TypeMethodDescriptionbotChannelAssociations
(Collection<BotChannelAssociation> botChannelAssociations) An array of objects, one for each association, that provides information about the Amazon Lex bot and its association with the channel.botChannelAssociations
(Consumer<BotChannelAssociation.Builder>... botChannelAssociations) An array of objects, one for each association, that provides information about the Amazon Lex bot and its association with the channel.botChannelAssociations
(BotChannelAssociation... botChannelAssociations) An array of objects, one for each association, that provides information about the Amazon Lex bot and its association with the channel.A pagination token that fetches the next page of associations.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
-
botChannelAssociations
GetBotChannelAssociationsResponse.Builder botChannelAssociations(Collection<BotChannelAssociation> botChannelAssociations) An array of objects, one for each association, that provides information about the Amazon Lex bot and its association with the channel.
- Parameters:
botChannelAssociations
- An array of objects, one for each association, that provides information about the Amazon Lex bot and its association with the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botChannelAssociations
GetBotChannelAssociationsResponse.Builder botChannelAssociations(BotChannelAssociation... botChannelAssociations) An array of objects, one for each association, that provides information about the Amazon Lex bot and its association with the channel.
- Parameters:
botChannelAssociations
- An array of objects, one for each association, that provides information about the Amazon Lex bot and its association with the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botChannelAssociations
GetBotChannelAssociationsResponse.Builder botChannelAssociations(Consumer<BotChannelAssociation.Builder>... botChannelAssociations) An array of objects, one for each association, that provides information about the Amazon Lex bot and its association with the channel.
This is a convenience method that creates an instance of theBotChannelAssociation.Builder
avoiding the need to create one manually viaBotChannelAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobotChannelAssociations(List<BotChannelAssociation>)
.- Parameters:
botChannelAssociations
- a consumer that will call methods onBotChannelAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token that fetches the next page of associations. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of associations, specify the pagination token in the next request.
- Parameters:
nextToken
- A pagination token that fetches the next page of associations. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of associations, specify the pagination token in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-