Interface GetRemoteAccessSessionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRemoteAccessSessionResponse.Builder,,GetRemoteAccessSessionResponse> DeviceFarmResponse.Builder,SdkBuilder<GetRemoteAccessSessionResponse.Builder,,GetRemoteAccessSessionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetRemoteAccessSessionResponse
public static interface GetRemoteAccessSessionResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<GetRemoteAccessSessionResponse.Builder,GetRemoteAccessSessionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionremoteAccessSession(Consumer<RemoteAccessSession.Builder> remoteAccessSession) A container that lists detailed information about the remote access session.remoteAccessSession(RemoteAccessSession remoteAccessSession) A container that lists detailed information about the remote access session.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
-
remoteAccessSession
A container that lists detailed information about the remote access session.
- Parameters:
remoteAccessSession- A container that lists detailed information about the remote access session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteAccessSession
default GetRemoteAccessSessionResponse.Builder remoteAccessSession(Consumer<RemoteAccessSession.Builder> remoteAccessSession) A container that lists detailed information about the remote access session.
This is a convenience method that creates an instance of theRemoteAccessSession.Builderavoiding the need to create one manually viaRemoteAccessSession.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremoteAccessSession(RemoteAccessSession).- Parameters:
remoteAccessSession- a consumer that will call methods onRemoteAccessSession.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-