Interface GetTestGridSessionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetTestGridSessionResponse.Builder,,GetTestGridSessionResponse> DeviceFarmResponse.Builder,SdkBuilder<GetTestGridSessionResponse.Builder,,GetTestGridSessionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetTestGridSessionResponse
public static interface GetTestGridSessionResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<GetTestGridSessionResponse.Builder,GetTestGridSessionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiontestGridSession(Consumer<TestGridSession.Builder> testGridSession) The TestGridSession that was requested.testGridSession(TestGridSession testGridSession) The TestGridSession that was requested.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
-
testGridSession
The TestGridSession that was requested.
- Parameters:
testGridSession- The TestGridSession that was requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testGridSession
default GetTestGridSessionResponse.Builder testGridSession(Consumer<TestGridSession.Builder> testGridSession) The TestGridSession that was requested.
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 totestGridSession(TestGridSession).- Parameters:
testGridSession- 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:
-