Class RemoteAccessSession
- java.lang.Object
-
- software.amazon.awssdk.services.devicefarm.model.RemoteAccessSession
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RemoteAccessSession.Builder,RemoteAccessSession>
@Generated("software.amazon.awssdk:codegen") public final class RemoteAccessSession extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RemoteAccessSession.Builder,RemoteAccessSession>
Represents information about the remote access session.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRemoteAccessSession.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the remote access session.BillingMethodbillingMethod()The billing method of the remote access session.StringbillingMethodAsString()The billing method of the remote access session.static RemoteAccessSession.Builderbuilder()StringclientId()Unique identifier of your client for the remote access session.Instantcreated()The date and time the remote access session was created.Devicedevice()The device (phone or tablet) used in the remote access session.DeviceMinutesdeviceMinutes()The number of minutes a device is used in a remote access session (including setup and teardown minutes).StringdeviceUdid()Unique device identifier for the remote device.Stringendpoint()The endpoint for the remote access sesssion.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhostAddress()IP address of the EC2 host where you need to connect to remotely debug devices.StringinstanceArn()The ARN of the instance.InteractionModeinteractionMode()The interaction mode of the remote access session.StringinteractionModeAsString()The interaction mode of the remote access session.Stringmessage()A message about the remote access session.Stringname()The name of the remote access session.BooleanremoteDebugEnabled()This flag is set totrueif remote debugging is enabled for the remote access session.StringremoteRecordAppArn()The ARN for the app to be recorded in the remote access session.BooleanremoteRecordEnabled()This flag is set totrueif remote recording is enabled for the remote access session.ExecutionResultresult()The result of the remote access session.StringresultAsString()The result of the remote access session.List<SdkField<?>>sdkFields()static Class<? extends RemoteAccessSession.Builder>serializableBuilderClass()BooleanskipAppResign()When set totrue, for private devices, Device Farm does not sign your app again.Instantstarted()The date and time the remote access session was started.ExecutionStatusstatus()The status of the remote access session.StringstatusAsString()The status of the remote access session.Instantstopped()The date and time the remote access session was stopped.RemoteAccessSession.BuildertoBuilder()StringtoString()Returns a string representation of this object.VpcConfigvpcConfig()The VPC security groups and subnets that are attached to a project.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the remote access session.
- Returns:
- The Amazon Resource Name (ARN) of the remote access session.
-
name
public final String name()
The name of the remote access session.
- Returns:
- The name of the remote access session.
-
created
public final Instant created()
The date and time the remote access session was created.
- Returns:
- The date and time the remote access session was created.
-
status
public final 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,
statuswill 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:
ExecutionStatus
-
-
statusAsString
public final 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,
statuswill 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:
ExecutionStatus
-
-
result
public final 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,
resultwill 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:
ExecutionResult
-
-
resultAsString
public final 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,
resultwill 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:
ExecutionResult
-
-
message
public final String message()
A message about the remote access session.
- Returns:
- A message about the remote access session.
-
started
public final Instant started()
The date and time the remote access session was started.
- Returns:
- The date and time the remote access session was started.
-
stopped
public final Instant stopped()
The date and time the remote access session was stopped.
- Returns:
- The date and time the remote access session was stopped.
-
device
public final Device 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
public final String instanceArn()
The ARN of the instance.
- Returns:
- The ARN of the instance.
-
remoteDebugEnabled
public final Boolean remoteDebugEnabled()
This flag is set to
trueif remote debugging is enabled for the remote access session.Remote debugging is no longer supported.
- Returns:
- This flag is set to
trueif remote debugging is enabled for the remote access session.Remote debugging is no longer supported.
-
remoteRecordEnabled
public final Boolean remoteRecordEnabled()
This flag is set to
trueif remote recording is enabled for the remote access session.- Returns:
- This flag is set to
trueif remote recording is enabled for the remote access session.
-
remoteRecordAppArn
public final String 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
public final 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.
- 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
public final 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.
- 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
public final BillingMethod billingMethod()
The billing method of the remote access session. Possible values include
METEREDorUNMETERED. 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,
billingMethodwill 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
METEREDorUNMETERED. For more information about metered devices, see AWS Device Farm terminology. - See Also:
BillingMethod
-
billingMethodAsString
public final String billingMethodAsString()
The billing method of the remote access session. Possible values include
METEREDorUNMETERED. 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,
billingMethodwill 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
METEREDorUNMETERED. For more information about metered devices, see AWS Device Farm terminology. - See Also:
BillingMethod
-
deviceMinutes
public final DeviceMinutes 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
public final String endpoint()
The endpoint for the remote access sesssion.
- Returns:
- The endpoint for the remote access sesssion.
-
deviceUdid
public final 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.
- 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
public final 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,
interactionModewill 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:
InteractionMode
-
-
interactionModeAsString
public final 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,
interactionModewill 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:
InteractionMode
-
-
skipAppResign
public final 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.
- 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
public final VpcConfig 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
public RemoteAccessSession.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RemoteAccessSession.Builder,RemoteAccessSession>
-
builder
public static RemoteAccessSession.Builder builder()
-
serializableBuilderClass
public static Class<? extends RemoteAccessSession.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-