Interface GetBotsResponse.Builder

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

public static interface GetBotsResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetBotsResponse.Builder,GetBotsResponse>
  • Method Details

    • bots

      An array of botMetadata objects, with one entry for each bot.

      Parameters:
      bots - An array of botMetadata objects, with one entry for each bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bots

      An array of botMetadata objects, with one entry for each bot.

      Parameters:
      bots - An array of botMetadata objects, with one entry for each bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bots

      An array of botMetadata objects, with one entry for each bot.

      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

      GetBotsResponse.Builder nextToken(String nextToken)

      If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of bots.

      Parameters:
      nextToken - If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of bots.
      Returns:
      Returns a reference to this object so that method calls can be chained together.