Interface ListTestExecutionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListTestExecutionsRequest.Builder,ListTestExecutionsRequest>,LexModelsV2Request.Builder,SdkBuilder<ListTestExecutionsRequest.Builder,ListTestExecutionsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListTestExecutionsRequest
public static interface ListTestExecutionsRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<ListTestExecutionsRequest.Builder,ListTestExecutionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListTestExecutionsRequest.BuildermaxResults(Integer maxResults)The maximum number of test executions to return in each page.ListTestExecutionsRequest.BuildernextToken(String nextToken)If the response from the ListTestExecutions operation contains more results than specified in the maxResults parameter, a token is returned in the response.ListTestExecutionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListTestExecutionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default ListTestExecutionsRequest.BuildersortBy(Consumer<TestExecutionSortBy.Builder> sortBy)The sort order of the test set executions.ListTestExecutionsRequest.BuildersortBy(TestExecutionSortBy sortBy)The sort order of the test set executions.-
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
-
sortBy
ListTestExecutionsRequest.Builder sortBy(TestExecutionSortBy sortBy)
The sort order of the test set executions.
- Parameters:
sortBy- The sort order of the test set executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
default ListTestExecutionsRequest.Builder sortBy(Consumer<TestExecutionSortBy.Builder> sortBy)
The sort order of the test set executions.
This is a convenience method that creates an instance of theTestExecutionSortBy.Builderavoiding the need to create one manually viaTestExecutionSortBy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosortBy(TestExecutionSortBy).- Parameters:
sortBy- a consumer that will call methods onTestExecutionSortBy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sortBy(TestExecutionSortBy)
-
maxResults
ListTestExecutionsRequest.Builder maxResults(Integer maxResults)
The maximum number of test executions 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 executions 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
ListTestExecutionsRequest.Builder nextToken(String nextToken)
If the response from the ListTestExecutions 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 ListTestExecutions 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
ListTestExecutionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListTestExecutionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-