@Generated(value="software.amazon.awssdk:codegen") public class RemoteAccessSession extends Object implements StructuredPojo, 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 |
billingMethodString()
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 sesssion (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) |
<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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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. |
ExecutionResult |
result()
The result of the remote access session.
|
String |
resultString()
The result of the remote access session.
|
static Class<? extends RemoteAccessSession.Builder> |
serializableBuilderClass() |
Instant |
started()
The date and time the remote access session was started.
|
ExecutionStatus |
status()
The status of the remote access session.
|
String |
statusString()
The status of the remote access session.
|
Instant |
stopped()
The date and time the remote access session was stopped.
|
RemoteAccessSession.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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: 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.
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
statusString()
.
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
public String statusString()
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.
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
statusString()
.
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
public 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.
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
resultString()
.
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
public String resultString()
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.
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
resultString()
.
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
public 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 Boolean remoteDebugEnabled()
This flag is set to true
if remote debugging is enabled for the remote access session.
true
if remote debugging is enabled for 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.
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.
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
billingMethodString()
.
METERED
or
UNMETERED
. For more information about metered devices, see AWS
Device Farm terminology."BillingMethod
public String billingMethodString()
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
billingMethodString()
.
METERED
or
UNMETERED
. For more information about metered devices, see AWS
Device Farm terminology."BillingMethod
public DeviceMinutes deviceMinutes()
The number of minutes a device is used in a remote access sesssion (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.
public RemoteAccessSession.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RemoteAccessSession.Builder,RemoteAccessSession>
public static RemoteAccessSession.Builder builder()
public static Class<? extends RemoteAccessSession.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.