Interface ListRecommendedIntentsResponse.Builder

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

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

    • botId

      The unique identifier of the bot associated with the recommended intent.

      Parameters:
      botId - The unique identifier of the bot associated with the recommended intent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botVersion

      The version of the bot that contains the intent.

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

      The identifier of the language and locale of the intents to list. The string must match one of the supported locales. For more information, see Supported languages.

      Parameters:
      localeId - The identifier of the language and locale of the intents to list. The string must match one of the supported locales. For more information, see Supported languages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botRecommendationId

      ListRecommendedIntentsResponse.Builder botRecommendationId(String botRecommendationId)

      The identifier of the bot recommendation that contains the recommended intent.

      Parameters:
      botRecommendationId - The identifier of the bot recommendation that contains the recommended intent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • summaryList

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

      Parameters:
      summaryList - Summary information for the intents 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 intents 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.
    • summaryList

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

      Parameters:
      summaryList - Summary information for the intents 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 intents 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.
    • summaryList

      Summary information for the intents 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 intents 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 RecommendedIntentSummary.Builder avoiding the need to create one manually via RecommendedIntentSummary.builder().

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

      Parameters:
      summaryList - a consumer that will call methods on RecommendedIntentSummary.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 ListRecommendedIntents operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListRecommendedIntents 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 ListRecommendedIntents operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListRecommendedIntents operation request to get the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.