Interface ListTestGridSessionActionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTestGridSessionActionsResponse.Builder,,ListTestGridSessionActionsResponse> DeviceFarmResponse.Builder,SdkBuilder<ListTestGridSessionActionsResponse.Builder,,ListTestGridSessionActionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListTestGridSessionActionsResponse
public static interface ListTestGridSessionActionsResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<ListTestGridSessionActionsResponse.Builder,ListTestGridSessionActionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionactions(Collection<TestGridSessionAction> actions) The action taken by the session.actions(Consumer<TestGridSessionAction.Builder>... actions) The action taken by the session.actions(TestGridSessionAction... actions) The action taken by the session.Pagination token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
actions
The action taken by the session.
- Parameters:
actions- The action taken by the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The action taken by the session.
- Parameters:
actions- The action taken by the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
ListTestGridSessionActionsResponse.Builder actions(Consumer<TestGridSessionAction.Builder>... actions) The action taken by the session.
This is a convenience method that creates an instance of theTestGridSessionAction.Builderavoiding the need to create one manually viaTestGridSessionAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactions(List<TestGridSessionAction>).- Parameters:
actions- a consumer that will call methods onTestGridSessionAction.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.
-