@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemoteAccessSession extends Object implements Serializable, Cloneable, StructuredPojo
Represents information about the remote access session.
Constructor and Description |
---|
RemoteAccessSession() |
Modifier and Type | Method and Description |
---|---|
RemoteAccessSession |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the remote access session.
|
String |
getBillingMethod()
The billing method of the remote access session.
|
Date |
getCreated()
The date and time the remote access session was created.
|
Device |
getDevice()
The device (phone or tablet) used in the remote access session.
|
DeviceMinutes |
getDeviceMinutes()
The number of minutes a device is used in a remote access sesssion (including setup and teardown minutes).
|
String |
getEndpoint()
The endpoint for the remote access sesssion.
|
String |
getMessage()
A message about the remote access session.
|
String |
getName()
The name of the remote access session.
|
String |
getResult()
The result of the remote access session.
|
Date |
getStarted()
The date and time the remote access session was started.
|
String |
getStatus()
The status of the remote access session.
|
Date |
getStopped()
The date and time the remote access session was stopped.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the remote access session.
|
void |
setBillingMethod(BillingMethod billingMethod)
The billing method of the remote access session.
|
void |
setBillingMethod(String billingMethod)
The billing method of the remote access session.
|
void |
setCreated(Date created)
The date and time the remote access session was created.
|
void |
setDevice(Device device)
The device (phone or tablet) used in the remote access session.
|
void |
setDeviceMinutes(DeviceMinutes deviceMinutes)
The number of minutes a device is used in a remote access sesssion (including setup and teardown minutes).
|
void |
setEndpoint(String endpoint)
The endpoint for the remote access sesssion.
|
void |
setMessage(String message)
A message about the remote access session.
|
void |
setName(String name)
The name of the remote access session.
|
void |
setResult(ExecutionResult result)
The result of the remote access session.
|
void |
setResult(String result)
The result of the remote access session.
|
void |
setStarted(Date started)
The date and time the remote access session was started.
|
void |
setStatus(ExecutionStatus status)
The status of the remote access session.
|
void |
setStatus(String status)
The status of the remote access session.
|
void |
setStopped(Date stopped)
The date and time the remote access session was stopped.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RemoteAccessSession |
withArn(String arn)
The Amazon Resource Name (ARN) of the remote access session.
|
RemoteAccessSession |
withBillingMethod(BillingMethod billingMethod)
The billing method of the remote access session.
|
RemoteAccessSession |
withBillingMethod(String billingMethod)
The billing method of the remote access session.
|
RemoteAccessSession |
withCreated(Date created)
The date and time the remote access session was created.
|
RemoteAccessSession |
withDevice(Device device)
The device (phone or tablet) used in the remote access session.
|
RemoteAccessSession |
withDeviceMinutes(DeviceMinutes deviceMinutes)
The number of minutes a device is used in a remote access sesssion (including setup and teardown minutes).
|
RemoteAccessSession |
withEndpoint(String endpoint)
The endpoint for the remote access sesssion.
|
RemoteAccessSession |
withMessage(String message)
A message about the remote access session.
|
RemoteAccessSession |
withName(String name)
The name of the remote access session.
|
RemoteAccessSession |
withResult(ExecutionResult result)
The result of the remote access session.
|
RemoteAccessSession |
withResult(String result)
The result of the remote access session.
|
RemoteAccessSession |
withStarted(Date started)
The date and time the remote access session was started.
|
RemoteAccessSession |
withStatus(ExecutionStatus status)
The status of the remote access session.
|
RemoteAccessSession |
withStatus(String status)
The status of the remote access session.
|
RemoteAccessSession |
withStopped(Date stopped)
The date and time the remote access session was stopped.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the remote access session.
arn
- The Amazon Resource Name (ARN) of the remote access session.public String getArn()
The Amazon Resource Name (ARN) of the remote access session.
public RemoteAccessSession withArn(String arn)
The Amazon Resource Name (ARN) of the remote access session.
arn
- The Amazon Resource Name (ARN) of the remote access session.public void setName(String name)
The name of the remote access session.
name
- The name of the remote access session.public String getName()
The name of the remote access session.
public RemoteAccessSession withName(String name)
The name of the remote access session.
name
- The name of the remote access session.public void setCreated(Date created)
The date and time the remote access session was created.
created
- The date and time the remote access session was created.public Date getCreated()
The date and time the remote access session was created.
public RemoteAccessSession withCreated(Date created)
The date and time the remote access session was created.
created
- The date and time the remote access session was created.public void setStatus(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
public String getStatus()
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.
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 RemoteAccessSession withStatus(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
public void setStatus(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
public RemoteAccessSession withStatus(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
public void setResult(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
public String getResult()
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.
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 RemoteAccessSession withResult(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
public void setResult(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
public RemoteAccessSession withResult(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
public void setMessage(String message)
A message about the remote access session.
message
- A message about the remote access session.public String getMessage()
A message about the remote access session.
public RemoteAccessSession withMessage(String message)
A message about the remote access session.
message
- A message about the remote access session.public void setStarted(Date started)
The date and time the remote access session was started.
started
- The date and time the remote access session was started.public Date getStarted()
The date and time the remote access session was started.
public RemoteAccessSession withStarted(Date started)
The date and time the remote access session was started.
started
- The date and time the remote access session was started.public void setStopped(Date stopped)
The date and time the remote access session was stopped.
stopped
- The date and time the remote access session was stopped.public Date getStopped()
The date and time the remote access session was stopped.
public RemoteAccessSession withStopped(Date stopped)
The date and time the remote access session was stopped.
stopped
- The date and time the remote access session was stopped.public void setDevice(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.public Device getDevice()
The device (phone or tablet) used in the remote access session.
public RemoteAccessSession withDevice(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.public void setBillingMethod(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
public String getBillingMethod()
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."
METERED
or
UNMETERED
. For more information about metered devices, see AWS
Device Farm terminology."BillingMethod
public RemoteAccessSession withBillingMethod(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
public void setBillingMethod(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
public RemoteAccessSession withBillingMethod(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
public void setDeviceMinutes(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).public DeviceMinutes getDeviceMinutes()
The number of minutes a device is used in a remote access sesssion (including setup and teardown minutes).
public RemoteAccessSession withDeviceMinutes(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).public void setEndpoint(String endpoint)
The endpoint for the remote access sesssion.
endpoint
- The endpoint for the remote access sesssion.public String getEndpoint()
The endpoint for the remote access sesssion.
public RemoteAccessSession withEndpoint(String endpoint)
The endpoint for the remote access sesssion.
endpoint
- The endpoint for the remote access sesssion.public String toString()
toString
in class Object
Object.toString()
public RemoteAccessSession clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.