public static interface CreateRemoteAccessSessionRequest.Builder extends DeviceFarmRequest.Builder, CopyableBuilder<CreateRemoteAccessSessionRequest.Builder,CreateRemoteAccessSessionRequest>
Modifier and Type | Method and Description |
---|---|
CreateRemoteAccessSessionRequest.Builder |
clientId(String clientId)
Unique identifier for the client.
|
default CreateRemoteAccessSessionRequest.Builder |
configuration(Consumer<CreateRemoteAccessSessionConfiguration.Builder> configuration)
The configuration information for the remote access session request.
|
CreateRemoteAccessSessionRequest.Builder |
configuration(CreateRemoteAccessSessionConfiguration configuration)
The configuration information for the remote access session request.
|
CreateRemoteAccessSessionRequest.Builder |
deviceArn(String deviceArn)
The Amazon Resource Name (ARN) of the device for which you want to create a remote access session.
|
CreateRemoteAccessSessionRequest.Builder |
name(String name)
The name of the remote access session that you wish to create.
|
CreateRemoteAccessSessionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateRemoteAccessSessionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateRemoteAccessSessionRequest.Builder |
projectArn(String projectArn)
The Amazon Resource Name (ARN) of the project for which you want to create a remote access session.
|
CreateRemoteAccessSessionRequest.Builder |
remoteDebugEnabled(Boolean remoteDebugEnabled)
Set to
true if you want to access devices remotely for debugging in your remote access session. |
CreateRemoteAccessSessionRequest.Builder |
sshPublicKey(String sshPublicKey)
The public key of the
ssh key pair you want to use for connecting to remote devices in your
remote debugging session. |
build
overrideConfiguration
copy
applyMutation, build
CreateRemoteAccessSessionRequest.Builder projectArn(String projectArn)
The Amazon Resource Name (ARN) of the project for which you want to create a remote access session.
projectArn
- The Amazon Resource Name (ARN) of the project for which you want to create a remote access session.CreateRemoteAccessSessionRequest.Builder deviceArn(String deviceArn)
The Amazon Resource Name (ARN) of the device for which you want to create a remote access session.
deviceArn
- The Amazon Resource Name (ARN) of the device for which you want to create a remote access session.CreateRemoteAccessSessionRequest.Builder sshPublicKey(String sshPublicKey)
The public key of the ssh
key pair you want to use for connecting to remote devices in your
remote debugging session. This is only required if remoteDebugEnabled
is set to
true
.
sshPublicKey
- The public key of the ssh
key pair you want to use for connecting to remote devices in
your remote debugging session. This is only required if remoteDebugEnabled
is set to
true
.CreateRemoteAccessSessionRequest.Builder remoteDebugEnabled(Boolean remoteDebugEnabled)
Set to true
if you want to access devices remotely for debugging in your remote access session.
remoteDebugEnabled
- Set to true
if you want to access devices remotely for debugging in your remote access
session.CreateRemoteAccessSessionRequest.Builder name(String name)
The name of the remote access session that you wish to create.
name
- The name of the remote access session that you wish to create.CreateRemoteAccessSessionRequest.Builder clientId(String clientId)
Unique identifier for the client. If you want access to multiple devices on the same client, you should pass
the same clientId
value in each call to CreateRemoteAccessSession
. This is required
only if remoteDebugEnabled
is set to true true
.
clientId
- Unique identifier for the client. If you want access to multiple devices on the same client, you
should pass the same clientId
value in each call to
CreateRemoteAccessSession
. This is required only if remoteDebugEnabled
is
set to true true
.CreateRemoteAccessSessionRequest.Builder configuration(CreateRemoteAccessSessionConfiguration configuration)
The configuration information for the remote access session request.
configuration
- The configuration information for the remote access session request.default CreateRemoteAccessSessionRequest.Builder configuration(Consumer<CreateRemoteAccessSessionConfiguration.Builder> configuration)
The configuration information for the remote access session request.
This is a convenience that creates an instance of theCreateRemoteAccessSessionConfiguration.Builder
avoiding the need to create one manually via CreateRemoteAccessSessionConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to configuration(CreateRemoteAccessSessionConfiguration)
.configuration
- a consumer that will call methods on CreateRemoteAccessSessionConfiguration.Builder
configuration(CreateRemoteAccessSessionConfiguration)
CreateRemoteAccessSessionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateRemoteAccessSessionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.