Interface GetBotChannelAssociationsResponse.Builder

  • 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 the BotChannelAssociation.Builder avoiding the need to create one manually via BotChannelAssociation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to botChannelAssociations(List<BotChannelAssociation>).

      Parameters:
      botChannelAssociations - a consumer that will call methods on BotChannelAssociation.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.