Interface ListImportsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListImportsRequest.Builder,
,ListImportsRequest> LexModelsV2Request.Builder
,SdkBuilder<ListImportsRequest.Builder,
,ListImportsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListImportsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier that Amazon Lex assigned to the bot.botVersion
(String botVersion) The version of the bot to list imports for.filters
(Collection<ImportFilter> filters) Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification.filters
(Consumer<ImportFilter.Builder>... filters) Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification.filters
(ImportFilter... filters) Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification.Specifies the locale that should be present in the list.maxResults
(Integer maxResults) The maximum number of imports to return in each page of results.If the response from theListImports
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 ListImportsRequest.Builder
sortBy
(Consumer<ImportSortBy.Builder> sortBy) Determines the field that the list of imports is sorted by.sortBy
(ImportSortBy sortBy) Determines the field that the list of imports is sorted by.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, sdkFields
-
Method Details
-
botId
The unique identifier that Amazon Lex assigned to the bot.
- Parameters:
botId
- The unique identifier that Amazon Lex assigned to the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The version of the bot to list imports for.
- Parameters:
botVersion
- The version of the bot to list imports for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
Determines the field that the list of imports is sorted by. You can sort by the
LastUpdatedDateTime
field in ascending or descending order.- Parameters:
sortBy
- Determines the field that the list of imports is sorted by. You can sort by theLastUpdatedDateTime
field in ascending or descending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
Determines the field that the list of imports is sorted by. You can sort by the
This is a convenience method that creates an instance of theLastUpdatedDateTime
field in ascending or descending order.ImportSortBy.Builder
avoiding the need to create one manually viaImportSortBy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosortBy(ImportSortBy)
.- Parameters:
sortBy
- a consumer that will call methods onImportSortBy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filters
Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.
- Parameters:
filters
- Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.
- Parameters:
filters
- Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.
This is a convenience method that creates an instance of theImportFilter.Builder
avoiding the need to create one manually viaImportFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<ImportFilter>)
.- Parameters:
filters
- a consumer that will call methods onImportFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of imports 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 imports 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
ListImports
operation contains more results than specified in themaxResults
parameter, a token is returned in the response.Use the returned token in the
nextToken
parameter of aListImports
request to return the next page of results. For a complete set of results, call theListImports
operation until thenextToken
returned in the response is null.- Parameters:
nextToken
- If the response from theListImports
operation contains more results than specified in themaxResults
parameter, a token is returned in the response.Use the returned token in the
nextToken
parameter of aListImports
request to return the next page of results. For a complete set of results, call theListImports
operation until thenextToken
returned in the response is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
Specifies the locale that should be present in the list. If you don't specify a resource type in the
filters
parameter, the list contains both bot locales and custom vocabularies.- Parameters:
localeId
- Specifies the locale that should be present in the list. If you don't specify a resource type in thefilters
parameter, the list contains both bot locales and custom vocabularies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListImportsRequest.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
ListImportsRequest.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.
-