Interface ListTestRunsResponse.Builder
- All Superinterfaces:
AppTestResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTestRunsResponse.Builder,
,ListTestRunsResponse> SdkBuilder<ListTestRunsResponse.Builder,
,ListTestRunsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTestRunsResponse
@Mutable
@NotThreadSafe
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, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaTestRunSummary.builder()
.When the
Consumer
completes,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.
-