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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRecommendedIntentsResponse.BuilderbotId(String botId)The unique identifier of the bot associated with the recommended intent.ListRecommendedIntentsResponse.BuilderbotRecommendationId(String botRecommendationId)The identifier of the bot recommendation that contains the recommended intent.ListRecommendedIntentsResponse.BuilderbotVersion(String botVersion)The version of the bot that contains the intent.ListRecommendedIntentsResponse.BuilderlocaleId(String localeId)The identifier of the language and locale of the intents to list.ListRecommendedIntentsResponse.BuildernextToken(String nextToken)A token that indicates whether there are more results to return in a response to the ListRecommendedIntents operation.ListRecommendedIntentsResponse.BuildersummaryList(Collection<RecommendedIntentSummary> summaryList)Summary information for the intents that meet the filter criteria specified in the request.ListRecommendedIntentsResponse.BuildersummaryList(Consumer<RecommendedIntentSummary.Builder>... summaryList)Summary information for the intents that meet the filter criteria specified in the request.ListRecommendedIntentsResponse.BuildersummaryList(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 Detail
-
botId
ListRecommendedIntentsResponse.Builder botId(String 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
ListRecommendedIntentsResponse.Builder botVersion(String 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
ListRecommendedIntentsResponse.Builder localeId(String 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
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
ListRecommendedIntentsResponse.Builder summaryList(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
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.Builderavoiding the need to create one manually viaRecommendedIntentSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#summaryList(List.) - 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:
#summaryList(java.util.Collection)
-
nextToken
ListRecommendedIntentsResponse.Builder nextToken(String 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.
-
-