Interface ListImportsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListImportsRequest.Builder,ListImportsRequest>,LexModelsV2Request.Builder,SdkBuilder<ListImportsRequest.Builder,ListImportsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListImportsRequest
public static interface ListImportsRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<ListImportsRequest.Builder,ListImportsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListImportsRequest.BuilderbotId(String botId)The unique identifier that Amazon Lex assigned to the bot.ListImportsRequest.BuilderbotVersion(String botVersion)The version of the bot to list imports for.ListImportsRequest.Builderfilters(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.ListImportsRequest.Builderfilters(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.ListImportsRequest.Builderfilters(ImportFilter... filters)Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification.ListImportsRequest.BuilderlocaleId(String localeId)Specifies the locale that should be present in the list.ListImportsRequest.BuildermaxResults(Integer maxResults)The maximum number of imports to return in each page of results.ListImportsRequest.BuildernextToken(String nextToken)If the response from theListImportsoperation contains more results than specified in themaxResultsparameter, a token is returned in the response.ListImportsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListImportsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default ListImportsRequest.BuildersortBy(Consumer<ImportSortBy.Builder> sortBy)Determines the field that the list of imports is sorted by.ListImportsRequest.BuildersortBy(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 Detail
-
botId
ListImportsRequest.Builder botId(String 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
ListImportsRequest.Builder botVersion(String 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
ListImportsRequest.Builder sortBy(ImportSortBy sortBy)
Determines the field that the list of imports is sorted by. You can sort by the
LastUpdatedDateTimefield in ascending or descending order.- Parameters:
sortBy- Determines the field that the list of imports is sorted by. You can sort by theLastUpdatedDateTimefield in ascending or descending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
default ListImportsRequest.Builder sortBy(Consumer<ImportSortBy.Builder> 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 theLastUpdatedDateTimefield in ascending or descending order.ImportSortBy.Builderavoiding the need to create one manually viaImportSortBy.builder().When the
Consumercompletes,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:
sortBy(ImportSortBy)
-
filters
ListImportsRequest.Builder 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. 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
ListImportsRequest.Builder 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. 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
ListImportsRequest.Builder 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. You can only specify one filter and one string to filter on.
This is a convenience method that creates an instance of theImportFilter.Builderavoiding the need to create one manually viaImportFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - 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:
#filters(java.util.Collection)
-
maxResults
ListImportsRequest.Builder maxResults(Integer 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
ListImportsRequest.Builder nextToken(String nextToken)
If the response from the
ListImportsoperation contains more results than specified in themaxResultsparameter, a token is returned in the response.Use the returned token in the
nextTokenparameter of aListImportsrequest to return the next page of results. For a complete set of results, call theListImportsoperation until thenextTokenreturned in the response is null.- Parameters:
nextToken- If the response from theListImportsoperation contains more results than specified in themaxResultsparameter, a token is returned in the response.Use the returned token in the
nextTokenparameter of aListImportsrequest to return the next page of results. For a complete set of results, call theListImportsoperation until thenextTokenreturned in the response is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
ListImportsRequest.Builder localeId(String localeId)
Specifies the locale that should be present in the list. If you don't specify a resource type in the
filtersparameter, 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 thefiltersparameter, 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListImportsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-