Class RemoteAccessSession
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<RemoteAccessSession.Builder,
RemoteAccessSession>
Represents information about the remote access session.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal String
arn()
The Amazon Resource Name (ARN) of the remote access session.final BillingMethod
The billing method of the remote access session.final String
The billing method of the remote access session.static RemoteAccessSession.Builder
builder()
final String
clientId()
Unique identifier of your client for the remote access session.final Instant
created()
The date and time the remote access session was created.final Device
device()
The device (phone or tablet) used in the remote access session.final DeviceMinutes
The number of minutes a device is used in a remote access session (including setup and teardown minutes).final String
Unique device identifier for the remote device.final String
endpoint()
The endpoint for the remote access sesssion.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
IP address of the EC2 host where you need to connect to remotely debug devices.final String
The ARN of the instance.final InteractionMode
The interaction mode of the remote access session.final String
The interaction mode of the remote access session.final String
message()
A message about the remote access session.final String
name()
The name of the remote access session.final Boolean
This flag is set totrue
if remote debugging is enabled for the remote access session.final String
The ARN for the app to be recorded in the remote access session.final Boolean
This flag is set totrue
if remote recording is enabled for the remote access session.final ExecutionResult
result()
The result of the remote access session.final String
The result of the remote access session.static Class
<? extends RemoteAccessSession.Builder> final Boolean
When set totrue
, for private devices, Device Farm does not sign your app again.final Instant
started()
The date and time the remote access session was started.final ExecutionStatus
status()
The status of the remote access session.final String
The status of the remote access session.final Instant
stopped()
The date and time the remote access session was stopped.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final VpcConfig
The VPC security groups and subnets that are attached to a project.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the remote access session.
- Returns:
- The Amazon Resource Name (ARN) of the remote access session.
-
name
The name of the remote access session.
- Returns:
- The name of the remote access session.
-
created
The date and time the remote access session was created.
- Returns:
- The date and time the remote access session was created.
-
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 returnExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the remote access session. Can be any of the following:
-
PENDING.
-
PENDING_CONCURRENCY.
-
PENDING_DEVICE.
-
PROCESSING.
-
SCHEDULING.
-
PREPARING.
-
RUNNING.
-
COMPLETED.
-
STOPPING.
-
- See Also:
-
-
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 returnExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the remote access session. Can be any of the following:
-
PENDING.
-
PENDING_CONCURRENCY.
-
PENDING_DEVICE.
-
PROCESSING.
-
SCHEDULING.
-
PREPARING.
-
RUNNING.
-
COMPLETED.
-
STOPPING.
-
- See Also:
-
-
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 returnExecutionResult.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromresultAsString()
.- Returns:
- The result of the remote access session. Can be any of the following:
-
PENDING.
-
PASSED.
-
WARNED.
-
FAILED.
-
SKIPPED.
-
ERRORED.
-
STOPPED.
-
- See Also:
-
-
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 returnExecutionResult.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromresultAsString()
.- Returns:
- The result of the remote access session. Can be any of the following:
-
PENDING.
-
PASSED.
-
WARNED.
-
FAILED.
-
SKIPPED.
-
ERRORED.
-
STOPPED.
-
- See Also:
-
-
message
A message about the remote access session.
- Returns:
- A message about the remote access session.
-
started
The date and time the remote access session was started.
- Returns:
- The date and time the remote access session was started.
-
stopped
The date and time the remote access session was stopped.
- Returns:
- The date and time the remote access session was stopped.
-
device
The device (phone or tablet) used in the remote access session.
- Returns:
- The device (phone or tablet) used in the remote access session.
-
instanceArn
The ARN of the instance.
- Returns:
- The ARN of the instance.
-
remoteDebugEnabled
This flag is set to
true
if remote debugging is enabled for the remote access session.Remote debugging is no longer supported.
- Returns:
- This flag is set to
true
if remote debugging is enabled for the remote access session.Remote debugging is no longer supported.
-
remoteRecordEnabled
This flag is set to
true
if remote recording is enabled for the remote access session.- Returns:
- This flag is set to
true
if remote recording is enabled for the remote access session.
-
remoteRecordAppArn
The ARN for the app to be recorded in the remote access session.
- Returns:
- The ARN for the app to be recorded in 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.
Remote debugging is no longer supported.
- Returns:
- 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.
-
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.
- Returns:
- 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.
-
billingMethod
The billing method of the remote access session. Possible values include
METERED
orUNMETERED
. 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 returnBillingMethod.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frombillingMethodAsString()
.- Returns:
- The billing method of the remote access session. Possible values include
METERED
orUNMETERED
. For more information about metered devices, see AWS Device Farm terminology. - See Also:
-
billingMethodAsString
The billing method of the remote access session. Possible values include
METERED
orUNMETERED
. 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 returnBillingMethod.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frombillingMethodAsString()
.- Returns:
- The billing method of the remote access session. Possible values include
METERED
orUNMETERED
. For more information about metered devices, see AWS Device Farm terminology. - See Also:
-
deviceMinutes
The number of minutes a device is used in a remote access session (including setup and teardown minutes).
- Returns:
- The number of minutes a device is used in a remote access session (including setup and teardown minutes).
-
endpoint
The endpoint for the remote access sesssion.
- Returns:
- The endpoint for the remote access sesssion.
-
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.
- Returns:
- 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.
-
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 returnInteractionMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominteractionModeAsString()
.- Returns:
- 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.
-
- See Also:
-
-
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 returnInteractionMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominteractionModeAsString()
.- Returns:
- 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.
-
- See Also:
-
-
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.
- Returns:
- 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.
-
vpcConfig
The VPC security groups and subnets that are attached to a project.
- Returns:
- The VPC security groups and subnets that are attached to a project.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<RemoteAccessSession.Builder,
RemoteAccessSession> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-