Interface ListBotRecommendationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListBotRecommendationsResponse.Builder,ListBotRecommendationsResponse>,LexModelsV2Response.Builder,SdkBuilder<ListBotRecommendationsResponse.Builder,ListBotRecommendationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListBotRecommendationsResponse
public static interface ListBotRecommendationsResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListBotRecommendationsResponse.Builder,ListBotRecommendationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBotRecommendationsResponse.BuilderbotId(String botId)The unique identifier of the bot that contains the bot recommendation list.ListBotRecommendationsResponse.BuilderbotRecommendationSummaries(Collection<BotRecommendationSummary> botRecommendationSummaries)Summary information for the bot recommendations that meet the filter specified in this request.ListBotRecommendationsResponse.BuilderbotRecommendationSummaries(Consumer<BotRecommendationSummary.Builder>... botRecommendationSummaries)Summary information for the bot recommendations that meet the filter specified in this request.ListBotRecommendationsResponse.BuilderbotRecommendationSummaries(BotRecommendationSummary... botRecommendationSummaries)Summary information for the bot recommendations that meet the filter specified in this request.ListBotRecommendationsResponse.BuilderbotVersion(String botVersion)The version of the bot that contains the bot recommendation list.ListBotRecommendationsResponse.BuilderlocaleId(String localeId)The identifier of the language and locale of the bot recommendation list.ListBotRecommendationsResponse.BuildernextToken(String nextToken)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 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 theBotRecommendationSummary.Builderavoiding the need to create one manually viaBotRecommendationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#botRecommendationSummaries(List.) - 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:
#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.
-
-