Interface ListBotRecommendationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListBotRecommendationsResponse.Builder,
,ListBotRecommendationsResponse> LexModelsV2Response.Builder
,SdkBuilder<ListBotRecommendationsResponse.Builder,
,ListBotRecommendationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBotRecommendationsResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the bot that contains the bot recommendation list.botRecommendationSummaries
(Collection<BotRecommendationSummary> botRecommendationSummaries) Summary information for the bot recommendations that meet the filter specified in this request.botRecommendationSummaries
(Consumer<BotRecommendationSummary.Builder>... botRecommendationSummaries) Summary information for the bot recommendations that meet the filter specified in this request.botRecommendationSummaries
(BotRecommendationSummary... botRecommendationSummaries) Summary information for the bot recommendations that meet the filter specified in this request.botVersion
(String botVersion) The version of the bot that contains the bot recommendation list.The identifier of the language and locale of the bot recommendation list.A token that indicates whether there are more results to return in a response to the ListBotRecommendations operation.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 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
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
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 theBotRecommendationSummary.Builder
avoiding the need to create one manually viaBotRecommendationSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobotRecommendationSummaries(List<BotRecommendationSummary>)
.- Parameters:
botRecommendationSummaries
- a consumer that will call methods onBotRecommendationSummary.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 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.
-