Interface GetBotChannelAssociationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetBotChannelAssociationsResponse.Builder,GetBotChannelAssociationsResponse>,LexModelBuildingResponse.Builder,SdkBuilder<GetBotChannelAssociationsResponse.Builder,GetBotChannelAssociationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetBotChannelAssociationsResponse
public static interface GetBotChannelAssociationsResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetBotChannelAssociationsResponse.Builder,GetBotChannelAssociationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetBotChannelAssociationsResponse.BuilderbotChannelAssociations(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.GetBotChannelAssociationsResponse.BuilderbotChannelAssociations(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.GetBotChannelAssociationsResponse.BuilderbotChannelAssociations(BotChannelAssociation... botChannelAssociations)An array of objects, one for each association, that provides information about the Amazon Lex bot and its association with the channel.GetBotChannelAssociationsResponse.BuildernextToken(String nextToken)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 Detail
-
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.Builderavoiding the need to create one manually viaBotChannelAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#botChannelAssociations(List.) - 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:
#botChannelAssociations(java.util.Collection)
-
nextToken
GetBotChannelAssociationsResponse.Builder nextToken(String 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.
-
-