public static interface Job.Builder extends SdkPojo, CopyableBuilder<Job.Builder,Job>
| Modifier and Type | Method and Description |
|---|---|
Job.Builder |
arn(String arn)
The job's ARN.
|
default Job.Builder |
counters(Consumer<Counters.Builder> counters)
The job's result counters.
|
Job.Builder |
counters(Counters counters)
The job's result counters.
|
Job.Builder |
created(Instant created)
When the job was created.
|
default Job.Builder |
device(Consumer<Device.Builder> device)
The device (phone or tablet).
|
Job.Builder |
device(Device device)
The device (phone or tablet).
|
default Job.Builder |
deviceMinutes(Consumer<DeviceMinutes.Builder> deviceMinutes)
Represents the total (metered or unmetered) minutes used by the job.
|
Job.Builder |
deviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the job.
|
Job.Builder |
instanceArn(String instanceArn)
The ARN of the instance.
|
Job.Builder |
message(String message)
A message about the job's result.
|
Job.Builder |
name(String name)
The job's name.
|
Job.Builder |
result(ExecutionResult result)
The job's result.
|
Job.Builder |
result(String result)
The job's result.
|
Job.Builder |
started(Instant started)
The job's start time.
|
Job.Builder |
status(ExecutionStatus status)
The job's status.
|
Job.Builder |
status(String status)
The job's status.
|
Job.Builder |
stopped(Instant stopped)
The job's stop time.
|
Job.Builder |
type(String type)
The job's type.
|
Job.Builder |
type(TestType type)
The job's type.
|
Job.Builder |
videoCapture(Boolean videoCapture)
This value is set to true if video capture is enabled.
|
Job.Builder |
videoEndpoint(String videoEndpoint)
The endpoint for streaming device video.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildJob.Builder arn(String arn)
The job's ARN.
arn - The job's ARN.Job.Builder name(String name)
The job's name.
name - The job's name.Job.Builder type(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,
TestTypeJob.Builder type(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,
TestTypeJob.Builder created(Instant created)
When the job was created.
created - When the job was created.Job.Builder status(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,
ExecutionStatusJob.Builder status(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,
ExecutionStatusJob.Builder result(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,
ExecutionResultJob.Builder result(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,
ExecutionResultJob.Builder started(Instant started)
The job's start time.
started - The job's start time.Job.Builder stopped(Instant stopped)
The job's stop time.
stopped - The job's stop time.Job.Builder counters(Counters counters)
The job's result counters.
counters - The job's result counters.default Job.Builder counters(Consumer<Counters.Builder> counters)
The job's result counters.
This is a convenience that creates an instance of theCounters.Builder avoiding the need to create
one manually via Counters.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to counters(Counters).counters - a consumer that will call methods on Counters.Buildercounters(Counters)Job.Builder message(String message)
A message about the job's result.
message - A message about the job's result.Job.Builder device(Device device)
The device (phone or tablet).
device - The device (phone or tablet).default Job.Builder device(Consumer<Device.Builder> device)
The device (phone or tablet).
This is a convenience that creates an instance of theDevice.Builder avoiding the need to create one
manually via Device.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to device(Device).device - a consumer that will call methods on Device.Builderdevice(Device)Job.Builder instanceArn(String instanceArn)
The ARN of the instance.
instanceArn - The ARN of the instance.Job.Builder deviceMinutes(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.default Job.Builder deviceMinutes(Consumer<DeviceMinutes.Builder> deviceMinutes)
Represents the total (metered or unmetered) minutes used by the job.
This is a convenience that creates an instance of theDeviceMinutes.Builder avoiding the need to
create one manually via DeviceMinutes.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to deviceMinutes(DeviceMinutes).deviceMinutes - a consumer that will call methods on DeviceMinutes.BuilderdeviceMinutes(DeviceMinutes)Job.Builder videoEndpoint(String videoEndpoint)
The endpoint for streaming device video.
videoEndpoint - The endpoint for streaming device video.Job.Builder videoCapture(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.Copyright © 2020. All rights reserved.