Interface ListTestSetsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListTestSetsRequest.Builder,
,ListTestSetsRequest> LexModelsV2Request.Builder
,SdkBuilder<ListTestSetsRequest.Builder,
,ListTestSetsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListTestSetsRequest
public static interface ListTestSetsRequest.Builder
extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<ListTestSetsRequest.Builder,ListTestSetsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of test sets to return in each page.If the response from the ListTestSets operation contains more results than specified in the maxResults 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 ListTestSetsRequest.Builder
sortBy
(Consumer<TestSetSortBy.Builder> sortBy) The sort order for the list of test sets.sortBy
(TestSetSortBy sortBy) The sort order for the list of test sets.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
-
sortBy
The sort order for the list of test sets.
- Parameters:
sortBy
- The sort order for the list of test sets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
The sort order for the list of test sets.
This is a convenience method that creates an instance of theTestSetSortBy.Builder
avoiding the need to create one manually viaTestSetSortBy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosortBy(TestSetSortBy)
.- Parameters:
sortBy
- a consumer that will call methods onTestSetSortBy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of test sets to return in each page. If there are fewer results than the max page size, only the actual number of results are returned.
- Parameters:
maxResults
- The maximum number of test sets to return in each page. 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 ListTestSets operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.
- Parameters:
nextToken
- If the response from the ListTestSets operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListTestSetsRequest.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
ListTestSetsRequest.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.
-