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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTestGridSessionsResponse.BuildernextToken(String nextToken)Pagination token.ListTestGridSessionsResponse.BuildertestGridSessions(Collection<TestGridSession> testGridSessions)The sessions that match the criteria in a ListTestGridSessionsRequest.ListTestGridSessionsResponse.BuildertestGridSessions(Consumer<TestGridSession.Builder>... testGridSessions)The sessions that match the criteria in a ListTestGridSessionsRequest.ListTestGridSessionsResponse.BuildertestGridSessions(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 Detail
-
testGridSessions
ListTestGridSessionsResponse.Builder testGridSessions(Collection<TestGridSession> 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(TestGridSession... 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.Builderavoiding the need to create one manually viaTestGridSession.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#testGridSessions(List.) - 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:
#testGridSessions(java.util.Collection)
-
nextToken
ListTestGridSessionsResponse.Builder nextToken(String nextToken)
Pagination token.
- Parameters:
nextToken- Pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-