Interface ListRecommendedIntentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListRecommendedIntentsResponse.Builder,
,ListRecommendedIntentsResponse> LexModelsV2Response.Builder
,SdkBuilder<ListRecommendedIntentsResponse.Builder,
,ListRecommendedIntentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListRecommendedIntentsResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the bot associated with the recommended intent.botRecommendationId
(String botRecommendationId) The identifier of the bot recommendation that contains the recommended intent.botVersion
(String botVersion) The version of the bot that contains the intent.The identifier of the language and locale of the intents to list.A token that indicates whether there are more results to return in a response to the ListRecommendedIntents operation.summaryList
(Collection<RecommendedIntentSummary> summaryList) Summary information for the intents that meet the filter criteria specified in the request.summaryList
(Consumer<RecommendedIntentSummary.Builder>... summaryList) Summary information for the intents that meet the filter criteria specified in the request.summaryList
(RecommendedIntentSummary... summaryList) Summary information for the intents that meet the filter criteria specified in the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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
ListRecommendedIntentsResponse.Builder summaryList(Collection<RecommendedIntentSummary> 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
ListRecommendedIntentsResponse.Builder summaryList(Consumer<RecommendedIntentSummary.Builder>... 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 theRecommendedIntentSummary.Builder
avoiding the need to create one manually viaRecommendedIntentSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosummaryList(List<RecommendedIntentSummary>)
.- Parameters:
summaryList
- a consumer that will call methods onRecommendedIntentSummary.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.
-