Interface ListTestRunsResponse.Builder
- All Superinterfaces:
AppTestResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListTestRunsResponse.Builder,,ListTestRunsResponse> SdkBuilder<ListTestRunsResponse.Builder,,ListTestRunsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListTestRunsResponse
public static interface ListTestRunsResponse.Builder
extends AppTestResponse.Builder, SdkPojo, CopyableBuilder<ListTestRunsResponse.Builder,ListTestRunsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token from the previous request to retrieve the next page of results.testRuns(Collection<TestRunSummary> testRuns) The test runs of the response query.testRuns(Consumer<TestRunSummary.Builder>... testRuns) The test runs of the response query.testRuns(TestRunSummary... testRuns) The test runs of the response query.Methods inherited from interface software.amazon.awssdk.services.apptest.model.AppTestResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
testRuns
The test runs of the response query.
- Parameters:
testRuns- The test runs of the response query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testRuns
The test runs of the response query.
- Parameters:
testRuns- The test runs of the response query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testRuns
The test runs of the response query.
This is a convenience method that creates an instance of theTestRunSummary.Builderavoiding the need to create one manually viaTestRunSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totestRuns(List<TestRunSummary>).- Parameters:
testRuns- a consumer that will call methods onTestRunSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token from the previous request to retrieve the next page of results.
- Parameters:
nextToken- The token from the previous request to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-