Interface GetBotVersionsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetBotVersionsResponse.Builder,GetBotVersionsResponse>, LexModelBuildingResponse.Builder, SdkBuilder<GetBotVersionsResponse.Builder,GetBotVersionsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetBotVersionsResponse

  • Method Details

    • bots

      An array of BotMetadata objects, one for each numbered version of the bot plus one for the $LATEST version.

      Parameters:
      bots - An array of BotMetadata objects, one for each numbered version of the bot plus one for the $LATEST version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bots

      An array of BotMetadata objects, one for each numbered version of the bot plus one for the $LATEST version.

      Parameters:
      bots - An array of BotMetadata objects, one for each numbered version of the bot plus one for the $LATEST version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bots

      An array of BotMetadata objects, one for each numbered version of the bot plus one for the $LATEST version.

      This is a convenience method that creates an instance of the BotMetadata.Builder avoiding the need to create one manually via BotMetadata.builder().

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

      Parameters:
      bots - a consumer that will call methods on BotMetadata.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      GetBotVersionsResponse.Builder nextToken(String nextToken)

      A pagination token for fetching the next page of bot versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request.

      Parameters:
      nextToken - A pagination token for fetching the next page of bot versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.