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