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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTestRunsResponse.BuildernextToken(String nextToken)The token from the previous request to retrieve the next page of results.ListTestRunsResponse.BuildertestRuns(Collection<TestRunSummary> testRuns)The test runs of the response query.ListTestRunsResponse.BuildertestRuns(Consumer<TestRunSummary.Builder>... testRuns)The test runs of the response query.ListTestRunsResponse.BuildertestRuns(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 Detail
-
testRuns
ListTestRunsResponse.Builder testRuns(Collection<TestRunSummary> 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
ListTestRunsResponse.Builder testRuns(TestRunSummary... 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
ListTestRunsResponse.Builder testRuns(Consumer<TestRunSummary.Builder>... 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 to#testRuns(List.) - 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:
#testRuns(java.util.Collection)
-
nextToken
ListTestRunsResponse.Builder nextToken(String 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.
-
-