Interface ListBotsResponse.Builder

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

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

    • botSummaries

      ListBotsResponse.Builder botSummaries(Collection<BotSummary> botSummaries)

      Summary information for the bots 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 bots available, the nextToken field contains a token to the next page of results.

      Parameters:
      botSummaries - Summary information for the bots 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 bots available, the nextToken field contains a token to the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botSummaries

      ListBotsResponse.Builder botSummaries(BotSummary... botSummaries)

      Summary information for the bots 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 bots available, the nextToken field contains a token to the next page of results.

      Parameters:
      botSummaries - Summary information for the bots 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 bots available, the nextToken field contains a token to the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botSummaries

      ListBotsResponse.Builder botSummaries(Consumer<BotSummary.Builder>... botSummaries)

      Summary information for the bots 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 bots available, the nextToken field contains a token to the next page of results.

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

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

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

      ListBotsResponse.Builder nextToken(String nextToken)

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