Interface ListBotsResponse.Builder

  • Method Details

    • bots

      A list of bot objects matching the specified filters and within the current page.

      Parameters:
      bots - A list of bot objects matching the specified filters and within the current page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bots

      A list of bot objects matching the specified filters and within the current page.

      Parameters:
      bots - A list of bot objects matching the specified filters and within the current page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bots

      A list of bot objects matching the specified filters and within the current page.

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

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

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

      ListBotsResponse.Builder nextToken(String nextToken)

      The token to use for retrieving the next page of results. If this is not present, there are no more results.

      Parameters:
      nextToken - The token to use for retrieving the next page of results. If this is not present, there are no more results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.