public static interface CreateRemoteAccessSessionRequest.Builder extends DeviceFarmRequest.Builder, SdkPojo, 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 |
instanceArn(String instanceArn)
The Amazon Resource Name (ARN) of the device instance for which you want to create a remote access session.
|
CreateRemoteAccessSessionRequest.Builder |
interactionMode(InteractionMode interactionMode)
The interaction mode of the remote access session.
|
CreateRemoteAccessSessionRequest.Builder |
interactionMode(String interactionMode)
The interaction mode of the 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 |
remoteRecordAppArn(String remoteRecordAppArn)
The Amazon Resource Name (ARN) for the app to be recorded in the remote access session.
|
CreateRemoteAccessSessionRequest.Builder |
remoteRecordEnabled(Boolean remoteRecordEnabled)
Set to
true to enable remote recording for the remote access session. |
CreateRemoteAccessSessionRequest.Builder |
skipAppResign(Boolean skipAppResign)
When set to
true , for private devices, Device Farm will not sign your app again. |
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 instanceArn(String instanceArn)
The Amazon Resource Name (ARN) of the device instance for which you want to create a remote access session.
instanceArn
- The Amazon Resource Name (ARN) of the device instance 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 remoteRecordEnabled(Boolean remoteRecordEnabled)
Set to true
to enable remote recording for the remote access session.
remoteRecordEnabled
- Set to true
to enable remote recording for the remote access session.CreateRemoteAccessSessionRequest.Builder remoteRecordAppArn(String remoteRecordAppArn)
The Amazon Resource Name (ARN) for the app to be recorded in the remote access session.
remoteRecordAppArn
- The Amazon Resource Name (ARN) for the app to be recorded in the 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
.
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
.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 interactionMode(String interactionMode)
The interaction mode of the remote access session. Valid values are:
INTERACTIVE: You can interact with the iOS device by viewing, touching, and rotating the screen. You cannot run XCUITest framework-based tests in this mode.
NO_VIDEO: You are connected to the device but cannot interact with it or view the screen. This mode has the fastest test execution speed. You can run XCUITest framework-based tests in this mode.
VIDEO_ONLY: You can view the screen but cannot touch or rotate it. You can run XCUITest framework-based tests and watch the screen in this mode.
interactionMode
- The interaction mode of the remote access session. Valid values are:
INTERACTIVE: You can interact with the iOS device by viewing, touching, and rotating the screen. You cannot run XCUITest framework-based tests in this mode.
NO_VIDEO: You are connected to the device but cannot interact with it or view the screen. This mode has the fastest test execution speed. You can run XCUITest framework-based tests in this mode.
VIDEO_ONLY: You can view the screen but cannot touch or rotate it. You can run XCUITest framework-based tests and watch the screen in this mode.
InteractionMode
,
InteractionMode
CreateRemoteAccessSessionRequest.Builder interactionMode(InteractionMode interactionMode)
The interaction mode of the remote access session. Valid values are:
INTERACTIVE: You can interact with the iOS device by viewing, touching, and rotating the screen. You cannot run XCUITest framework-based tests in this mode.
NO_VIDEO: You are connected to the device but cannot interact with it or view the screen. This mode has the fastest test execution speed. You can run XCUITest framework-based tests in this mode.
VIDEO_ONLY: You can view the screen but cannot touch or rotate it. You can run XCUITest framework-based tests and watch the screen in this mode.
interactionMode
- The interaction mode of the remote access session. Valid values are:
INTERACTIVE: You can interact with the iOS device by viewing, touching, and rotating the screen. You cannot run XCUITest framework-based tests in this mode.
NO_VIDEO: You are connected to the device but cannot interact with it or view the screen. This mode has the fastest test execution speed. You can run XCUITest framework-based tests in this mode.
VIDEO_ONLY: You can view the screen but cannot touch or rotate it. You can run XCUITest framework-based tests and watch the screen in this mode.
InteractionMode
,
InteractionMode
CreateRemoteAccessSessionRequest.Builder skipAppResign(Boolean skipAppResign)
When set to true
, for private devices, Device Farm will not sign your app again. For public
devices, Device Farm always signs your apps again and this parameter has no effect.
For more information about how Device Farm re-signs your app(s), see Do you modify my app? in the AWS Device Farm FAQs.
skipAppResign
- When set to true
, for private devices, Device Farm will not sign your app again. For
public devices, Device Farm always signs your apps again and this parameter has no effect.
For more information about how Device Farm re-signs your app(s), see Do you modify my app? in the AWS Device Farm FAQs.
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.