@Generated(value="software.amazon.awssdk:codegen") public final class Job extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Job.Builder,Job>
Represents a device.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Job.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The job's ARN.
|
static Job.Builder |
builder() |
Counters |
counters()
The job's result counters.
|
Instant |
created()
When the job was created.
|
Device |
device()
The device (phone or tablet).
|
DeviceMinutes |
deviceMinutes()
Represents the total (metered or unmetered) minutes used by the job.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceArn()
The ARN of the instance.
|
String |
message()
A message about the job's result.
|
String |
name()
The job's name.
|
ExecutionResult |
result()
The job's result.
|
String |
resultAsString()
The job's result.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Job.Builder> |
serializableBuilderClass() |
Instant |
started()
The job's start time.
|
ExecutionStatus |
status()
The job's status.
|
String |
statusAsString()
The job's status.
|
Instant |
stopped()
The job's stop time.
|
Job.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TestType |
type()
The job's type.
|
String |
typeAsString()
The job's type.
|
Boolean |
videoCapture()
This value is set to true if video capture is enabled.
|
String |
videoEndpoint()
The endpoint for streaming device video.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String arn()
The job's ARN.
public String name()
The job's name.
public TestType type()
The job's type.
Allowed values include the following:
BUILTIN_FUZZ
BUILTIN_EXPLORER. For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.
APPIUM_JAVA_JUNIT
APPIUM_JAVA_TESTNG
APPIUM_PYTHON
APPIUM_NODE
APPIUM_RUBY
APPIUM_WEB_JAVA_JUNIT
APPIUM_WEB_JAVA_TESTNG
APPIUM_WEB_PYTHON
APPIUM_WEB_NODE
APPIUM_WEB_RUBY
CALABASH
INSTRUMENTATION
UIAUTOMATION
UIAUTOMATOR
XCTEST
XCTEST_UI
If the service returns an enum value that is not available in the current SDK version, type will return
TestType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
Allowed values include the following:
BUILTIN_FUZZ
BUILTIN_EXPLORER. For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.
APPIUM_JAVA_JUNIT
APPIUM_JAVA_TESTNG
APPIUM_PYTHON
APPIUM_NODE
APPIUM_RUBY
APPIUM_WEB_JAVA_JUNIT
APPIUM_WEB_JAVA_TESTNG
APPIUM_WEB_PYTHON
APPIUM_WEB_NODE
APPIUM_WEB_RUBY
CALABASH
INSTRUMENTATION
UIAUTOMATION
UIAUTOMATOR
XCTEST
XCTEST_UI
TestTypepublic String typeAsString()
The job's type.
Allowed values include the following:
BUILTIN_FUZZ
BUILTIN_EXPLORER. For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.
APPIUM_JAVA_JUNIT
APPIUM_JAVA_TESTNG
APPIUM_PYTHON
APPIUM_NODE
APPIUM_RUBY
APPIUM_WEB_JAVA_JUNIT
APPIUM_WEB_JAVA_TESTNG
APPIUM_WEB_PYTHON
APPIUM_WEB_NODE
APPIUM_WEB_RUBY
CALABASH
INSTRUMENTATION
UIAUTOMATION
UIAUTOMATOR
XCTEST
XCTEST_UI
If the service returns an enum value that is not available in the current SDK version, type will return
TestType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
Allowed values include the following:
BUILTIN_FUZZ
BUILTIN_EXPLORER. For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.
APPIUM_JAVA_JUNIT
APPIUM_JAVA_TESTNG
APPIUM_PYTHON
APPIUM_NODE
APPIUM_RUBY
APPIUM_WEB_JAVA_JUNIT
APPIUM_WEB_JAVA_TESTNG
APPIUM_WEB_PYTHON
APPIUM_WEB_NODE
APPIUM_WEB_RUBY
CALABASH
INSTRUMENTATION
UIAUTOMATION
UIAUTOMATOR
XCTEST
XCTEST_UI
TestTypepublic Instant created()
When the job was created.
public ExecutionStatus status()
The job's status.
Allowed values include:
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().
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatuspublic String statusAsString()
The job's status.
Allowed values include:
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().
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatuspublic ExecutionResult result()
The job's result.
Allowed values include:
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().
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResultpublic String resultAsString()
The job's result.
Allowed values include:
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().
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResultpublic Instant started()
The job's start time.
public Instant stopped()
The job's stop time.
public Counters counters()
The job's result counters.
public String message()
A message about the job's result.
public Device device()
The device (phone or tablet).
public String instanceArn()
The ARN of the instance.
public DeviceMinutes deviceMinutes()
Represents the total (metered or unmetered) minutes used by the job.
public String videoEndpoint()
The endpoint for streaming device video.
public Boolean videoCapture()
This value is set to true if video capture is enabled. Otherwise, it is set to false.
public Job.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Job.Builder,Job>public static Job.Builder builder()
public static Class<? extends Job.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.