Interface ListTestExecutionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTestExecutionsResponse.Builder,,ListTestExecutionsResponse> LexModelsV2Response.Builder,SdkBuilder<ListTestExecutionsResponse.Builder,,ListTestExecutionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListTestExecutionsResponse
public static interface ListTestExecutionsResponse.Builder
extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListTestExecutionsResponse.Builder,ListTestExecutionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token that indicates whether there are more results to return in a response to the ListTestExecutions operation.testExecutions(Collection<TestExecutionSummary> testExecutions) The list of test executions.testExecutions(Consumer<TestExecutionSummary.Builder>... testExecutions) The list of test executions.testExecutions(TestExecutionSummary... testExecutions) The list of test executions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
testExecutions
The list of test executions.
- Parameters:
testExecutions- The list of test executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testExecutions
The list of test executions.
- Parameters:
testExecutions- The list of test executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testExecutions
ListTestExecutionsResponse.Builder testExecutions(Consumer<TestExecutionSummary.Builder>... testExecutions) The list of test executions.
This is a convenience method that creates an instance of theTestExecutionSummary.Builderavoiding the need to create one manually viaTestExecutionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totestExecutions(List<TestExecutionSummary>).- Parameters:
testExecutions- a consumer that will call methods onTestExecutionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates whether there are more results to return in a response to the ListTestExecutions operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListTestExecutions operation request to get the next page of results.
- Parameters:
nextToken- A token that indicates whether there are more results to return in a response to the ListTestExecutions operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListTestExecutions operation request to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-