Interface ListTestsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTestsResponse.Builder,
,ListTestsResponse> DeviceFarmResponse.Builder
,SdkBuilder<ListTestsResponse.Builder,
,ListTestsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTestsResponse
@Mutable
@NotThreadSafe
public static interface ListTestsResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<ListTestsResponse.Builder,ListTestsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the number of items that are returned is significantly large, this is an identifier that is also returned.tests
(Collection<Test> tests) Information about the tests.tests
(Consumer<Test.Builder>... tests) Information about the tests.Information about the tests.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.Builder
build, responseMetadata, responseMetadata
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
-
tests
Information about the tests.
- Parameters:
tests
- Information about the tests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tests
Information about the tests.
- Parameters:
tests
- Information about the tests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tests
Information about the tests.
This is a convenience method that creates an instance of theTest.Builder
avoiding the need to create one manually viaTest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totests(List<Test>)
.- Parameters:
tests
- a consumer that will call methods onTest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.
- Parameters:
nextToken
- If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-