Interface ListBotLocalesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListBotLocalesRequest.Builder,
,ListBotLocalesRequest> LexModelsV2Request.Builder
,SdkBuilder<ListBotLocalesRequest.Builder,
,ListBotLocalesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListBotLocalesRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bot to list locales for.botVersion
(String botVersion) The version of the bot to list locales for.filters
(Collection<BotLocaleFilter> filters) Provides the specification for a filter used to limit the response to only those locales that match the filter specification.filters
(Consumer<BotLocaleFilter.Builder>... filters) Provides the specification for a filter used to limit the response to only those locales that match the filter specification.filters
(BotLocaleFilter... filters) Provides the specification for a filter used to limit the response to only those locales that match the filter specification.maxResults
(Integer maxResults) The maximum number of aliases to return in each page of results.If the response from theListBotLocales
operation contains more results than specified in themaxResults
parameter, a token is returned in the response.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default ListBotLocalesRequest.Builder
sortBy
(Consumer<BotLocaleSortBy.Builder> sortBy) Specifies sorting parameters for the list of locales.sortBy
(BotLocaleSortBy sortBy) Specifies sorting parameters for the list of locales.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
The version of the bot to list locales for.
- Parameters:
botVersion
- The version of the bot to list locales for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
Specifies sorting parameters for the list of locales. You can sort by locale name in ascending or descending order.
- Parameters:
sortBy
- Specifies sorting parameters for the list of locales. You can sort by locale name in ascending or descending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
Specifies sorting parameters for the list of locales. You can sort by locale name in ascending or descending order.
This is a convenience method that creates an instance of theBotLocaleSortBy.Builder
avoiding the need to create one manually viaBotLocaleSortBy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosortBy(BotLocaleSortBy)
.- Parameters:
sortBy
- a consumer that will call methods onBotLocaleSortBy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filters
Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on.
- Parameters:
filters
- Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on.
- Parameters:
filters
- Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on.
This is a convenience method that creates an instance of theBotLocaleFilter.Builder
avoiding the need to create one manually viaBotLocaleFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<BotLocaleFilter>)
.- Parameters:
filters
- a consumer that will call methods onBotLocaleFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of aliases to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
- Parameters:
maxResults
- The maximum number of aliases to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If the response from the
ListBotLocales
operation contains more results than specified in themaxResults
parameter, a token is returned in the response. Use that token as thenextToken
parameter to return the next page of results.- Parameters:
nextToken
- If the response from theListBotLocales
operation contains more results than specified in themaxResults
parameter, a token is returned in the response. Use that token as thenextToken
parameter to return the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListBotLocalesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListBotLocalesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-