Interface ListBotRecommendationsResponse.Builder

    • Method Detail

      • botId

        ListBotRecommendationsResponse.Builder botId​(String botId)

        The unique identifier of the bot that contains the bot recommendation list.

        Parameters:
        botId - The unique identifier of the bot that contains the bot recommendation list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botVersion

        ListBotRecommendationsResponse.Builder botVersion​(String botVersion)

        The version of the bot that contains the bot recommendation list.

        Parameters:
        botVersion - The version of the bot that contains the bot recommendation list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • localeId

        ListBotRecommendationsResponse.Builder localeId​(String localeId)

        The identifier of the language and locale of the bot recommendation list.

        Parameters:
        localeId - The identifier of the language and locale of the bot recommendation list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botRecommendationSummaries

        ListBotRecommendationsResponse.Builder botRecommendationSummaries​(Collection<BotRecommendationSummary> botRecommendationSummaries)

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

        Parameters:
        botRecommendationSummaries - Summary information for the bot recommendations that meet the filter specified in this request. The length of the list is specified in the maxResults parameter of the request. If there are more bot recommendations 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.
      • botRecommendationSummaries

        ListBotRecommendationsResponse.Builder botRecommendationSummaries​(BotRecommendationSummary... botRecommendationSummaries)

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

        Parameters:
        botRecommendationSummaries - Summary information for the bot recommendations that meet the filter specified in this request. The length of the list is specified in the maxResults parameter of the request. If there are more bot recommendations 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.
      • botRecommendationSummaries

        ListBotRecommendationsResponse.Builder botRecommendationSummaries​(Consumer<BotRecommendationSummary.Builder>... botRecommendationSummaries)

        Summary information for the bot recommendations that meet the filter specified in this request. The length of the list is specified in the maxResults parameter of the request. If there are more bot recommendations 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 BotRecommendationSummary.Builder avoiding the need to create one manually via BotRecommendationSummary.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #botRecommendationSummaries(List).

        Parameters:
        botRecommendationSummaries - a consumer that will call methods on BotRecommendationSummary.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #botRecommendationSummaries(java.util.Collection)
      • nextToken

        ListBotRecommendationsResponse.Builder nextToken​(String nextToken)

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