Interface ListBotVersionsResponse.Builder

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

public static interface ListBotVersionsResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListBotVersionsResponse.Builder,ListBotVersionsResponse>
  • Method Details

    • botId

      The identifier of the bot to list versions for.

      Parameters:
      botId - The identifier of the bot to list versions for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botVersionSummaries

      ListBotVersionsResponse.Builder botVersionSummaries(Collection<BotVersionSummary> botVersionSummaries)

      Summary information for the bot versions that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more versions available, the nextToken field contains a token to get the next page of results.

      Parameters:
      botVersionSummaries - Summary information for the bot versions that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more versions available, the nextToken field contains a token to get the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botVersionSummaries

      ListBotVersionsResponse.Builder botVersionSummaries(BotVersionSummary... botVersionSummaries)

      Summary information for the bot versions that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more versions available, the nextToken field contains a token to get the next page of results.

      Parameters:
      botVersionSummaries - Summary information for the bot versions that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more versions available, the nextToken field contains a token to get the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botVersionSummaries

      ListBotVersionsResponse.Builder botVersionSummaries(Consumer<BotVersionSummary.Builder>... botVersionSummaries)

      Summary information for the bot versions that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more versions available, the nextToken field contains a token to get the next page of results.

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

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

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

      A token that indicates whether there are more results to return in a response to the ListBotVersions operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListBotAliases operation request to get the next page of results.

      Parameters:
      nextToken - A token that indicates whether there are more results to return in a response to the ListBotVersions operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListBotAliases operation request to get the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.