Interface ListTestGridSessionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTestGridSessionsResponse.Builder,
,ListTestGridSessionsResponse> DeviceFarmResponse.Builder
,SdkBuilder<ListTestGridSessionsResponse.Builder,
,ListTestGridSessionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTestGridSessionsResponse
public static interface ListTestGridSessionsResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<ListTestGridSessionsResponse.Builder,ListTestGridSessionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionPagination token.testGridSessions
(Collection<TestGridSession> testGridSessions) The sessions that match the criteria in a ListTestGridSessionsRequest.testGridSessions
(Consumer<TestGridSession.Builder>... testGridSessions) The sessions that match the criteria in a ListTestGridSessionsRequest.testGridSessions
(TestGridSession... testGridSessions) The sessions that match the criteria in a ListTestGridSessionsRequest.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
testGridSessions
The sessions that match the criteria in a ListTestGridSessionsRequest.
- Parameters:
testGridSessions
- The sessions that match the criteria in a ListTestGridSessionsRequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testGridSessions
The sessions that match the criteria in a ListTestGridSessionsRequest.
- Parameters:
testGridSessions
- The sessions that match the criteria in a ListTestGridSessionsRequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testGridSessions
ListTestGridSessionsResponse.Builder testGridSessions(Consumer<TestGridSession.Builder>... testGridSessions) The sessions that match the criteria in a ListTestGridSessionsRequest.
This is a convenience method that creates an instance of theTestGridSession.Builder
avoiding the need to create one manually viaTestGridSession.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totestGridSessions(List<TestGridSession>)
.- Parameters:
testGridSessions
- a consumer that will call methods onTestGridSession.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Pagination token.
- Parameters:
nextToken
- Pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-