Class Job
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Job.Builder,Job>
Represents a device.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()The job's ARN.static Job.Builderbuilder()final Counterscounters()The job's result counters.final Instantcreated()When the job was created.final Devicedevice()The device (phone or tablet).final DeviceMinutesRepresents the total (metered or unmetered) minutes used by the job.final booleanfinal booleanequalsBySdkFields(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 inthashCode()final StringThe ARN of the instance.final Stringmessage()A message about the job's result.final Stringname()The job's name.final ExecutionResultresult()The job's result.final StringThe job's result.static Class<? extends Job.Builder> final Instantstarted()The job's start time.final ExecutionStatusstatus()The job's status.final StringThe job's status.final Instantstopped()The job's stop time.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final TestTypetype()The job's type.final StringThe job's type.final BooleanThis value is set to true if video capture is enabled.final StringThe endpoint for streaming device video.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
arn
-
name
-
type
The job's type.
Allowed values include the following:
-
BUILTIN_FUZZ
-
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
-
INSTRUMENTATION
-
XCTEST
-
XCTEST_UI
If the service returns an enum value that is not available in the current SDK version,
typewill returnTestType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The job's type.
Allowed values include the following:
-
BUILTIN_FUZZ
-
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
-
INSTRUMENTATION
-
XCTEST
-
XCTEST_UI
-
- See Also:
-
-
typeAsString
The job's type.
Allowed values include the following:
-
BUILTIN_FUZZ
-
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
-
INSTRUMENTATION
-
XCTEST
-
XCTEST_UI
If the service returns an enum value that is not available in the current SDK version,
typewill returnTestType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The job's type.
Allowed values include the following:
-
BUILTIN_FUZZ
-
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
-
INSTRUMENTATION
-
XCTEST
-
XCTEST_UI
-
- See Also:
-
-
created
-
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,
statuswill returnExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The job's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
-
- See Also:
-
-
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,
statuswill returnExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The job's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
-
- See Also:
-
-
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,
resultwill returnExecutionResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresultAsString().- Returns:
- The job's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
-
- See Also:
-
-
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,
resultwill returnExecutionResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresultAsString().- Returns:
- The job's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
-
- See Also:
-
-
started
-
stopped
-
counters
-
message
A message about the job's result.
- Returns:
- A message about the job's result.
-
device
-
instanceArn
-
deviceMinutes
Represents the total (metered or unmetered) minutes used by the job.
- Returns:
- Represents the total (metered or unmetered) minutes used by the job.
-
videoEndpoint
The endpoint for streaming device video.
- Returns:
- The endpoint for streaming device video.
-
videoCapture
This value is set to true if video capture is enabled. Otherwise, it is set to false.
- Returns:
- This value is set to true if video capture is enabled. Otherwise, it is set to false.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Job.Builder,Job> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
getValueForField
-
sdkFields
-