@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Job extends Object implements Serializable, Cloneable, StructuredPojo
Represents a device.
Constructor and Description |
---|
Job() |
Modifier and Type | Method and Description |
---|---|
Job |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The job's ARN.
|
Counters |
getCounters()
The job's result counters.
|
Date |
getCreated()
When the job was created.
|
Device |
getDevice()
The device (phone or tablet).
|
DeviceMinutes |
getDeviceMinutes()
Represents the total (metered or unmetered) minutes used by the job.
|
String |
getInstanceArn()
The ARN of the instance.
|
String |
getMessage()
A message about the job's result.
|
String |
getName()
The job's name.
|
String |
getResult()
The job's result.
|
Date |
getStarted()
The job's start time.
|
String |
getStatus()
The job's status.
|
Date |
getStopped()
The job's stop time.
|
String |
getType()
The job's type.
|
Boolean |
getVideoCapture()
This value is set to true if video capture is enabled.
|
String |
getVideoEndpoint()
The endpoint for streaming device video.
|
int |
hashCode() |
Boolean |
isVideoCapture()
This value is set to true if video capture is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The job's ARN.
|
void |
setCounters(Counters counters)
The job's result counters.
|
void |
setCreated(Date created)
When the job was created.
|
void |
setDevice(Device device)
The device (phone or tablet).
|
void |
setDeviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the job.
|
void |
setInstanceArn(String instanceArn)
The ARN of the instance.
|
void |
setMessage(String message)
A message about the job's result.
|
void |
setName(String name)
The job's name.
|
void |
setResult(ExecutionResult result)
The job's result.
|
void |
setResult(String result)
The job's result.
|
void |
setStarted(Date started)
The job's start time.
|
void |
setStatus(ExecutionStatus status)
The job's status.
|
void |
setStatus(String status)
The job's status.
|
void |
setStopped(Date stopped)
The job's stop time.
|
void |
setType(String type)
The job's type.
|
void |
setType(TestType type)
The job's type.
|
void |
setVideoCapture(Boolean videoCapture)
This value is set to true if video capture is enabled.
|
void |
setVideoEndpoint(String videoEndpoint)
The endpoint for streaming device video.
|
String |
toString()
Returns a string representation of this object.
|
Job |
withArn(String arn)
The job's ARN.
|
Job |
withCounters(Counters counters)
The job's result counters.
|
Job |
withCreated(Date created)
When the job was created.
|
Job |
withDevice(Device device)
The device (phone or tablet).
|
Job |
withDeviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the job.
|
Job |
withInstanceArn(String instanceArn)
The ARN of the instance.
|
Job |
withMessage(String message)
A message about the job's result.
|
Job |
withName(String name)
The job's name.
|
Job |
withResult(ExecutionResult result)
The job's result.
|
Job |
withResult(String result)
The job's result.
|
Job |
withStarted(Date started)
The job's start time.
|
Job |
withStatus(ExecutionStatus status)
The job's status.
|
Job |
withStatus(String status)
The job's status.
|
Job |
withStopped(Date stopped)
The job's stop time.
|
Job |
withType(String type)
The job's type.
|
Job |
withType(TestType type)
The job's type.
|
Job |
withVideoCapture(Boolean videoCapture)
This value is set to true if video capture is enabled.
|
Job |
withVideoEndpoint(String videoEndpoint)
The endpoint for streaming device video.
|
public void setArn(String arn)
The job's ARN.
arn
- The job's ARN.public String getArn()
The job's ARN.
public Job withArn(String arn)
The job's ARN.
arn
- The job's ARN.public void setName(String name)
The job's name.
name
- The job's name.public String getName()
The job's name.
public Job withName(String name)
The job's name.
name
- The job's name.public void setType(String 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
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
TestType
public String getType()
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
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
TestType
public Job withType(String 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
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
TestType
public void setType(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
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
TestType
public Job withType(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
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
TestType
public void setCreated(Date created)
When the job was created.
created
- When the job was created.public Date getCreated()
When the job was created.
public Job withCreated(Date created)
When the job was created.
created
- When the job was created.public void setStatus(String status)
The job's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
status
- The job's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatus
public String getStatus()
The job's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatus
public Job withStatus(String status)
The job's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
status
- The job's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatus
public void setStatus(ExecutionStatus status)
The job's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
status
- The job's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatus
public Job withStatus(ExecutionStatus status)
The job's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
status
- The job's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatus
public void setResult(String result)
The job's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result
- The job's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResult
public String getResult()
The job's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResult
public Job withResult(String result)
The job's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result
- The job's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResult
public void setResult(ExecutionResult result)
The job's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result
- The job's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResult
public Job withResult(ExecutionResult result)
The job's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result
- The job's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResult
public void setStarted(Date started)
The job's start time.
started
- The job's start time.public Date getStarted()
The job's start time.
public Job withStarted(Date started)
The job's start time.
started
- The job's start time.public void setStopped(Date stopped)
The job's stop time.
stopped
- The job's stop time.public Date getStopped()
The job's stop time.
public Job withStopped(Date stopped)
The job's stop time.
stopped
- The job's stop time.public void setCounters(Counters counters)
The job's result counters.
counters
- The job's result counters.public Counters getCounters()
The job's result counters.
public Job withCounters(Counters counters)
The job's result counters.
counters
- The job's result counters.public void setMessage(String message)
A message about the job's result.
message
- A message about the job's result.public String getMessage()
A message about the job's result.
public Job withMessage(String message)
A message about the job's result.
message
- A message about the job's result.public void setDevice(Device device)
The device (phone or tablet).
device
- The device (phone or tablet).public Device getDevice()
The device (phone or tablet).
public Job withDevice(Device device)
The device (phone or tablet).
device
- The device (phone or tablet).public void setInstanceArn(String instanceArn)
The ARN of the instance.
instanceArn
- The ARN of the instance.public String getInstanceArn()
The ARN of the instance.
public Job withInstanceArn(String instanceArn)
The ARN of the instance.
instanceArn
- The ARN of the instance.public void setDeviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the job.
deviceMinutes
- Represents the total (metered or unmetered) minutes used by the job.public DeviceMinutes getDeviceMinutes()
Represents the total (metered or unmetered) minutes used by the job.
public Job withDeviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the job.
deviceMinutes
- Represents the total (metered or unmetered) minutes used by the job.public void setVideoEndpoint(String videoEndpoint)
The endpoint for streaming device video.
videoEndpoint
- The endpoint for streaming device video.public String getVideoEndpoint()
The endpoint for streaming device video.
public Job withVideoEndpoint(String videoEndpoint)
The endpoint for streaming device video.
videoEndpoint
- The endpoint for streaming device video.public void setVideoCapture(Boolean videoCapture)
This value is set to true if video capture is enabled. Otherwise, it is set to false.
videoCapture
- This value is set to true if video capture is enabled. Otherwise, it is set to false.public Boolean getVideoCapture()
This value is set to true if video capture is enabled. Otherwise, it is set to false.
public Job withVideoCapture(Boolean videoCapture)
This value is set to true if video capture is enabled. Otherwise, it is set to false.
videoCapture
- This value is set to true if video capture is enabled. Otherwise, it is set to false.public Boolean isVideoCapture()
This value is set to true if video capture is enabled. Otherwise, it is set to false.
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.