@Generated(value="software.amazon.awssdk:codegen") public final class RemoteAccessSession extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RemoteAccessSession.Builder,RemoteAccessSession>
Represents information about the remote access session.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RemoteAccessSession.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the remote access session.
|
BillingMethod |
billingMethod()
The billing method of the remote access session.
|
String |
billingMethodAsString()
The billing method of the remote access session.
|
static RemoteAccessSession.Builder |
builder() |
String |
clientId()
Unique identifier of your client for the remote access session.
|
Instant |
created()
The date and time the remote access session was created.
|
Device |
device()
The device (phone or tablet) used in the remote access session.
|
DeviceMinutes |
deviceMinutes()
The number of minutes a device is used in a remote access session (including setup and teardown minutes).
|
String |
deviceUdid()
Unique device identifier for the remote device.
|
String |
endpoint()
The endpoint for the remote access sesssion.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hostAddress()
IP address of the EC2 host where you need to connect to remotely debug devices.
|
String |
instanceArn()
The ARN of the instance.
|
InteractionMode |
interactionMode()
The interaction mode of the remote access session.
|
String |
interactionModeAsString()
The interaction mode of the remote access session.
|
String |
message()
A message about the remote access session.
|
String |
name()
The name of the remote access session.
|
Boolean |
remoteDebugEnabled()
This flag is set to
true if remote debugging is enabled for the remote access session. |
String |
remoteRecordAppArn()
The ARN for the app to be recorded in the remote access session.
|
Boolean |
remoteRecordEnabled()
This flag is set to
true if remote recording is enabled for the remote access session. |
ExecutionResult |
result()
The result of the remote access session.
|
String |
resultAsString()
The result of the remote access session.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RemoteAccessSession.Builder> |
serializableBuilderClass() |
Boolean |
skipAppResign()
When set to
true, for private devices, Device Farm does not sign your app again. |
Instant |
started()
The date and time the remote access session was started.
|
ExecutionStatus |
status()
The status of the remote access session.
|
String |
statusAsString()
The status of the remote access session.
|
Instant |
stopped()
The date and time the remote access session was stopped.
|
RemoteAccessSession.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String arn()
The Amazon Resource Name (ARN) of the remote access session.
public String name()
The name of the remote access session.
public Instant created()
The date and time the remote access session was created.
public ExecutionStatus status()
The status of the remote access session. Can be any of the following:
PENDING.
PENDING_CONCURRENCY.
PENDING_DEVICE.
PROCESSING.
SCHEDULING.
PREPARING.
RUNNING.
COMPLETED.
STOPPING.
If the service returns an enum value that is not available in the current SDK version, status will
return ExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
PENDING.
PENDING_CONCURRENCY.
PENDING_DEVICE.
PROCESSING.
SCHEDULING.
PREPARING.
RUNNING.
COMPLETED.
STOPPING.
ExecutionStatuspublic String statusAsString()
The status of the remote access session. Can be any of the following:
PENDING.
PENDING_CONCURRENCY.
PENDING_DEVICE.
PROCESSING.
SCHEDULING.
PREPARING.
RUNNING.
COMPLETED.
STOPPING.
If the service returns an enum value that is not available in the current SDK version, status will
return ExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
PENDING.
PENDING_CONCURRENCY.
PENDING_DEVICE.
PROCESSING.
SCHEDULING.
PREPARING.
RUNNING.
COMPLETED.
STOPPING.
ExecutionStatuspublic ExecutionResult result()
The result of the remote access session. Can be any of the following:
PENDING.
PASSED.
WARNED.
FAILED.
SKIPPED.
ERRORED.
STOPPED.
If the service returns an enum value that is not available in the current SDK version, result will
return ExecutionResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resultAsString().
PENDING.
PASSED.
WARNED.
FAILED.
SKIPPED.
ERRORED.
STOPPED.
ExecutionResultpublic String resultAsString()
The result of the remote access session. Can be any of the following:
PENDING.
PASSED.
WARNED.
FAILED.
SKIPPED.
ERRORED.
STOPPED.
If the service returns an enum value that is not available in the current SDK version, result will
return ExecutionResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resultAsString().
PENDING.
PASSED.
WARNED.
FAILED.
SKIPPED.
ERRORED.
STOPPED.
ExecutionResultpublic String message()
A message about the remote access session.
public Instant started()
The date and time the remote access session was started.
public Instant stopped()
The date and time the remote access session was stopped.
public Device device()
The device (phone or tablet) used in the remote access session.
public String instanceArn()
The ARN of the instance.
public Boolean remoteDebugEnabled()
This flag is set to true if remote debugging is enabled for the remote access session.
Remote debugging is no longer supported.
true if remote debugging is enabled for the remote access session.
Remote debugging is no longer supported.
public Boolean remoteRecordEnabled()
This flag is set to true if remote recording is enabled for the remote access session.
true if remote recording is enabled for the remote access session.public String remoteRecordAppArn()
The ARN for the app to be recorded in the remote access session.
public 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.
Remote debugging is no longer supported.
Remote debugging is no longer supported.
public String clientId()
Unique identifier of your client for the remote access session. Only returned if remote debugging is enabled for the remote access session.
Remote debugging is no longer supported.
Remote debugging is no longer supported.
public 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.
If the service returns an enum value that is not available in the current SDK version, billingMethod
will return BillingMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
billingMethodAsString().
METERED or
UNMETERED. For more information about metered devices, see AWS
Device Farm terminology.BillingMethodpublic String billingMethodAsString()
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.
If the service returns an enum value that is not available in the current SDK version, billingMethod
will return BillingMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
billingMethodAsString().
METERED or
UNMETERED. For more information about metered devices, see AWS
Device Farm terminology.BillingMethodpublic DeviceMinutes deviceMinutes()
The number of minutes a device is used in a remote access session (including setup and teardown minutes).
public String endpoint()
The endpoint for the remote access sesssion.
public String deviceUdid()
Unique device identifier for the remote device. Only returned if remote debugging is enabled for the remote access session.
Remote debugging is no longer supported.
Remote debugging is no longer supported.
public 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.
If the service returns an enum value that is not available in the current SDK version, interactionMode
will return InteractionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from interactionModeAsString().
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.
InteractionModepublic String interactionModeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, interactionMode
will return InteractionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from interactionModeAsString().
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.
InteractionModepublic Boolean skipAppResign()
When set to true, for private devices, Device Farm does not sign your app again. For public devices,
Device Farm always signs your apps again.
For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs.
true, for private devices, Device Farm does not sign your app again. For public
devices, Device Farm always signs your apps again.
For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs.
public RemoteAccessSession.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RemoteAccessSession.Builder,RemoteAccessSession>public static RemoteAccessSession.Builder builder()
public static Class<? extends RemoteAccessSession.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.