Interface ListBotResourceGenerationsResponse.Builder

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

  • Method Details

    • botId

      The unique identifier of the bot for which the generation requests were made.

      Parameters:
      botId - The unique identifier of the bot for which the generation requests were made.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botVersion

      The version of the bot for which the generation requests were made.

      Parameters:
      botVersion - The version of the bot for which the generation requests were made.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • localeId

      The locale of the bot for which the generation requests were made.

      Parameters:
      localeId - The locale of the bot for which the generation requests were made.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • generationSummaries

      ListBotResourceGenerationsResponse.Builder generationSummaries(Collection<GenerationSummary> generationSummaries)

      A list of objects, each containing information about a generation request for the bot locale.

      Parameters:
      generationSummaries - A list of objects, each containing information about a generation request for the bot locale.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • generationSummaries

      ListBotResourceGenerationsResponse.Builder generationSummaries(GenerationSummary... generationSummaries)

      A list of objects, each containing information about a generation request for the bot locale.

      Parameters:
      generationSummaries - A list of objects, each containing information about a generation request for the bot locale.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • generationSummaries

      A list of objects, each containing information about a generation request for the bot locale.

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

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

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

      If the total number of results is greater than the number specified in the maxResults, the response returns a token in the nextToken field. Use this token when making a request to return the next batch of results.

      Parameters:
      nextToken - If the total number of results is greater than the number specified in the maxResults, the response returns a token in the nextToken field. Use this token when making a request to return the next batch of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.