public static interface RemoteAccessSession.Builder extends CopyableBuilder<RemoteAccessSession.Builder,RemoteAccessSession>
Modifier and Type | Method and Description |
---|---|
RemoteAccessSession.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the remote access session.
|
RemoteAccessSession.Builder |
billingMethod(BillingMethod billingMethod)
The billing method of the remote access session.
|
RemoteAccessSession.Builder |
billingMethod(String billingMethod)
The billing method of the remote access session.
|
RemoteAccessSession.Builder |
clientId(String clientId)
Unique identifier of your client for the remote access session.
|
RemoteAccessSession.Builder |
created(Instant created)
The date and time the remote access session was created.
|
default RemoteAccessSession.Builder |
device(Consumer<Device.Builder> device)
The device (phone or tablet) used in the remote access session.
|
RemoteAccessSession.Builder |
device(Device device)
The device (phone or tablet) used in the remote access session.
|
default RemoteAccessSession.Builder |
deviceMinutes(Consumer<DeviceMinutes.Builder> deviceMinutes)
The number of minutes a device is used in a remote access sesssion (including setup and teardown minutes).
|
RemoteAccessSession.Builder |
deviceMinutes(DeviceMinutes deviceMinutes)
The number of minutes a device is used in a remote access sesssion (including setup and teardown minutes).
|
RemoteAccessSession.Builder |
deviceUdid(String deviceUdid)
Unique device identifier for the remote device.
|
RemoteAccessSession.Builder |
endpoint(String endpoint)
The endpoint for the remote access sesssion.
|
RemoteAccessSession.Builder |
hostAddress(String hostAddress)
IP address of the EC2 host where you need to connect to remotely debug devices.
|
RemoteAccessSession.Builder |
message(String message)
A message about the remote access session.
|
RemoteAccessSession.Builder |
name(String name)
The name of the remote access session.
|
RemoteAccessSession.Builder |
remoteDebugEnabled(Boolean remoteDebugEnabled)
This flag is set to
true if remote debugging is enabled for the remote access session. |
RemoteAccessSession.Builder |
result(ExecutionResult result)
The result of the remote access session.
|
RemoteAccessSession.Builder |
result(String result)
The result of the remote access session.
|
RemoteAccessSession.Builder |
started(Instant started)
The date and time the remote access session was started.
|
RemoteAccessSession.Builder |
status(ExecutionStatus status)
The status of the remote access session.
|
RemoteAccessSession.Builder |
status(String status)
The status of the remote access session.
|
RemoteAccessSession.Builder |
stopped(Instant stopped)
The date and time the remote access session was stopped.
|
copy
applyMutation, build
RemoteAccessSession.Builder arn(String arn)
The Amazon Resource Name (ARN) of the remote access session.
arn
- The Amazon Resource Name (ARN) of the remote access session.RemoteAccessSession.Builder name(String name)
The name of the remote access session.
name
- The name of the remote access session.RemoteAccessSession.Builder created(Instant created)
The date and time the remote access session was created.
created
- The date and time the remote access session was created.RemoteAccessSession.Builder status(String status)
The status of the remote access session. Can be any of the following:
PENDING: A pending status.
PENDING_CONCURRENCY: A pending concurrency status.
PENDING_DEVICE: A pending device status.
PROCESSING: A processing status.
SCHEDULING: A scheduling status.
PREPARING: A preparing status.
RUNNING: A running status.
COMPLETED: A completed status.
STOPPING: A stopping status.
status
- The status of the remote access session. Can be any of the following:
PENDING: A pending status.
PENDING_CONCURRENCY: A pending concurrency status.
PENDING_DEVICE: A pending device status.
PROCESSING: A processing status.
SCHEDULING: A scheduling status.
PREPARING: A preparing status.
RUNNING: A running status.
COMPLETED: A completed status.
STOPPING: A stopping status.
ExecutionStatus
,
ExecutionStatus
RemoteAccessSession.Builder status(ExecutionStatus status)
The status of the remote access session. Can be any of the following:
PENDING: A pending status.
PENDING_CONCURRENCY: A pending concurrency status.
PENDING_DEVICE: A pending device status.
PROCESSING: A processing status.
SCHEDULING: A scheduling status.
PREPARING: A preparing status.
RUNNING: A running status.
COMPLETED: A completed status.
STOPPING: A stopping status.
status
- The status of the remote access session. Can be any of the following:
PENDING: A pending status.
PENDING_CONCURRENCY: A pending concurrency status.
PENDING_DEVICE: A pending device status.
PROCESSING: A processing status.
SCHEDULING: A scheduling status.
PREPARING: A preparing status.
RUNNING: A running status.
COMPLETED: A completed status.
STOPPING: A stopping status.
ExecutionStatus
,
ExecutionStatus
RemoteAccessSession.Builder result(String result)
The result of the remote access session. Can be any of the following:
PENDING: A pending condition.
PASSED: A passing condition.
WARNED: A warning condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
ERRORED: An error condition.
STOPPED: A stopped condition.
result
- The result of the remote access session. Can be any of the following:
PENDING: A pending condition.
PASSED: A passing condition.
WARNED: A warning condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
ERRORED: An error condition.
STOPPED: A stopped condition.
ExecutionResult
,
ExecutionResult
RemoteAccessSession.Builder result(ExecutionResult result)
The result of the remote access session. Can be any of the following:
PENDING: A pending condition.
PASSED: A passing condition.
WARNED: A warning condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
ERRORED: An error condition.
STOPPED: A stopped condition.
result
- The result of the remote access session. Can be any of the following:
PENDING: A pending condition.
PASSED: A passing condition.
WARNED: A warning condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
ERRORED: An error condition.
STOPPED: A stopped condition.
ExecutionResult
,
ExecutionResult
RemoteAccessSession.Builder message(String message)
A message about the remote access session.
message
- A message about the remote access session.RemoteAccessSession.Builder started(Instant started)
The date and time the remote access session was started.
started
- The date and time the remote access session was started.RemoteAccessSession.Builder stopped(Instant stopped)
The date and time the remote access session was stopped.
stopped
- The date and time the remote access session was stopped.RemoteAccessSession.Builder device(Device device)
The device (phone or tablet) used in the remote access session.
device
- The device (phone or tablet) used in the remote access session.default RemoteAccessSession.Builder device(Consumer<Device.Builder> device)
The device (phone or tablet) used in the remote access session.
This is a convenience that creates an instance of theDevice.Builder
avoiding the need to create one
manually via Device.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to device(Device)
.device
- a consumer that will call methods on Device.Builder
device(Device)
RemoteAccessSession.Builder remoteDebugEnabled(Boolean remoteDebugEnabled)
This flag is set to true
if remote debugging is enabled for the remote access session.
remoteDebugEnabled
- This flag is set to true
if remote debugging is enabled for the remote access session.RemoteAccessSession.Builder hostAddress(String hostAddress)
IP address of the EC2 host where you need to connect to remotely debug devices. Only returned if remote debugging is enabled for the remote access session.
hostAddress
- IP address of the EC2 host where you need to connect to remotely debug devices. Only returned if
remote debugging is enabled for the remote access session.RemoteAccessSession.Builder clientId(String clientId)
Unique identifier of your client for the remote access session. Only returned if remote debugging is enabled for the remote access session.
clientId
- Unique identifier of your client for the remote access session. Only returned if remote debugging is
enabled for the remote access session.RemoteAccessSession.Builder billingMethod(String billingMethod)
The billing method of the remote access session. Possible values include METERED
or
UNMETERED
. For more information about metered devices, see AWS
Device Farm terminology."
billingMethod
- The billing method of the remote access session. Possible values include METERED
or
UNMETERED
. For more information about metered devices, see AWS Device Farm terminology."BillingMethod
,
BillingMethod
RemoteAccessSession.Builder billingMethod(BillingMethod billingMethod)
The billing method of the remote access session. Possible values include METERED
or
UNMETERED
. For more information about metered devices, see AWS
Device Farm terminology."
billingMethod
- The billing method of the remote access session. Possible values include METERED
or
UNMETERED
. For more information about metered devices, see AWS Device Farm terminology."BillingMethod
,
BillingMethod
RemoteAccessSession.Builder deviceMinutes(DeviceMinutes deviceMinutes)
The number of minutes a device is used in a remote access sesssion (including setup and teardown minutes).
deviceMinutes
- The number of minutes a device is used in a remote access sesssion (including setup and teardown
minutes).default RemoteAccessSession.Builder deviceMinutes(Consumer<DeviceMinutes.Builder> deviceMinutes)
The number of minutes a device is used in a remote access sesssion (including setup and teardown minutes).
This is a convenience that creates an instance of theDeviceMinutes.Builder
avoiding the need to
create one manually via DeviceMinutes.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to deviceMinutes(DeviceMinutes)
.deviceMinutes
- a consumer that will call methods on DeviceMinutes.Builder
deviceMinutes(DeviceMinutes)
RemoteAccessSession.Builder endpoint(String endpoint)
The endpoint for the remote access sesssion.
endpoint
- The endpoint for the remote access sesssion.RemoteAccessSession.Builder deviceUdid(String deviceUdid)
Unique device identifier for the remote device. Only returned if remote debugging is enabled for the remote access session.
deviceUdid
- Unique device identifier for the remote device. Only returned if remote debugging is enabled for the
remote access session.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.