Interface ListBotLocalesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListBotLocalesResponse.Builder,ListBotLocalesResponse>,LexModelsV2Response.Builder,SdkBuilder<ListBotLocalesResponse.Builder,ListBotLocalesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListBotLocalesResponse
public static interface ListBotLocalesResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListBotLocalesResponse.Builder,ListBotLocalesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBotLocalesResponse.BuilderbotId(String botId)The identifier of the bot to list locales for.ListBotLocalesResponse.BuilderbotLocaleSummaries(Collection<BotLocaleSummary> botLocaleSummaries)Summary information for the locales that meet the filter criteria specified in the request.ListBotLocalesResponse.BuilderbotLocaleSummaries(Consumer<BotLocaleSummary.Builder>... botLocaleSummaries)Summary information for the locales that meet the filter criteria specified in the request.ListBotLocalesResponse.BuilderbotLocaleSummaries(BotLocaleSummary... botLocaleSummaries)Summary information for the locales that meet the filter criteria specified in the request.ListBotLocalesResponse.BuilderbotVersion(String botVersion)The version of the bot.ListBotLocalesResponse.BuildernextToken(String nextToken)A token that indicates whether there are more results to return in a response to theListBotLocalesoperation.-
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
ListBotLocalesResponse.Builder botId(String botId)
The identifier of the bot to list locales for.
- Parameters:
botId- The identifier of the bot to list locales for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
ListBotLocalesResponse.Builder botVersion(String botVersion)
The version of the bot.
- Parameters:
botVersion- The version of the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListBotLocalesResponse.Builder nextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the
ListBotLocalesoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListBotLocalesoperation 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 theListBotLocalesoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListBotLocalesoperation request to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botLocaleSummaries
ListBotLocalesResponse.Builder botLocaleSummaries(Collection<BotLocaleSummary> botLocaleSummaries)
Summary information for the locales that meet the filter criteria specified in the request. The length of the list is specified in the
maxResultsparameter of the request. If there are more locales available, thenextTokenfield contains a token to get the next page of results.- Parameters:
botLocaleSummaries- Summary information for the locales that meet the filter criteria specified in the request. The length of the list is specified in themaxResultsparameter of the request. If there are more locales available, thenextTokenfield 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.
-
botLocaleSummaries
ListBotLocalesResponse.Builder botLocaleSummaries(BotLocaleSummary... botLocaleSummaries)
Summary information for the locales that meet the filter criteria specified in the request. The length of the list is specified in the
maxResultsparameter of the request. If there are more locales available, thenextTokenfield contains a token to get the next page of results.- Parameters:
botLocaleSummaries- Summary information for the locales that meet the filter criteria specified in the request. The length of the list is specified in themaxResultsparameter of the request. If there are more locales available, thenextTokenfield 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.
-
botLocaleSummaries
ListBotLocalesResponse.Builder botLocaleSummaries(Consumer<BotLocaleSummary.Builder>... botLocaleSummaries)
Summary information for the locales that meet the filter criteria specified in the request. The length of the list is specified in the
This is a convenience method that creates an instance of themaxResultsparameter of the request. If there are more locales available, thenextTokenfield contains a token to get the next page of results.BotLocaleSummary.Builderavoiding the need to create one manually viaBotLocaleSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#botLocaleSummaries(List.) - Parameters:
botLocaleSummaries- a consumer that will call methods onBotLocaleSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#botLocaleSummaries(java.util.Collection)
-
-