public static interface CreateRemoteAccessSessionResponse.Builder extends DeviceFarmResponse.Builder, CopyableBuilder<CreateRemoteAccessSessionResponse.Builder,CreateRemoteAccessSessionResponse>
Modifier and Type | Method and Description |
---|---|
default CreateRemoteAccessSessionResponse.Builder |
remoteAccessSession(Consumer<RemoteAccessSession.Builder> remoteAccessSession)
A container that describes the remote access session when the request to create a remote access session is
sent.
|
CreateRemoteAccessSessionResponse.Builder |
remoteAccessSession(RemoteAccessSession remoteAccessSession)
A container that describes the remote access session when the request to create a remote access session is
sent.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateRemoteAccessSessionResponse.Builder remoteAccessSession(RemoteAccessSession remoteAccessSession)
A container that describes the remote access session when the request to create a remote access session is sent.
remoteAccessSession
- A container that describes the remote access session when the request to create a remote access
session is sent.default CreateRemoteAccessSessionResponse.Builder remoteAccessSession(Consumer<RemoteAccessSession.Builder> remoteAccessSession)
A container that describes the remote access session when the request to create a remote access session is sent.
This is a convenience that creates an instance of theRemoteAccessSession.Builder
avoiding the need
to create one manually via RemoteAccessSession.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to remoteAccessSession(RemoteAccessSession)
.remoteAccessSession
- a consumer that will call methods on RemoteAccessSession.Builder
remoteAccessSession(RemoteAccessSession)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.