Interface Job.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Job.Builder,
,Job> SdkBuilder<Job.Builder,
,Job> SdkPojo
- Enclosing class:
Job
-
Method Summary
Modifier and TypeMethodDescriptionThe job's ARN.default Job.Builder
counters
(Consumer<Counters.Builder> counters) The job's result counters.The job's result counters.When the job was created.default Job.Builder
device
(Consumer<Device.Builder> device) The device (phone or tablet).The device (phone or tablet).default Job.Builder
deviceMinutes
(Consumer<DeviceMinutes.Builder> deviceMinutes) Represents the total (metered or unmetered) minutes used by the job.deviceMinutes
(DeviceMinutes deviceMinutes) Represents the total (metered or unmetered) minutes used by the job.instanceArn
(String instanceArn) The ARN of the instance.A message about the job's result.The job's name.The job's result.result
(ExecutionResult result) The job's result.The job's start time.The job's status.status
(ExecutionStatus status) The job's status.The job's stop time.The job's type.The job's type.videoCapture
(Boolean videoCapture) This value is set to true if video capture is enabled.videoEndpoint
(String videoEndpoint) The endpoint for streaming device video.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
arn
The job's ARN.
- Parameters:
arn
- The job's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The job's name.
- Parameters:
name
- The job's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
- Parameters:
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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
- Parameters:
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
created
When the job was created.
- Parameters:
created
- When the job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The job's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
- Parameters:
status
- The job's status.Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The job's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
- Parameters:
status
- The job's status.Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
result
The job's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
- Parameters:
result
- The job's result.Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
result
The job's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
- Parameters:
result
- The job's result.Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
started
The job's start time.
- Parameters:
started
- The job's start time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopped
The job's stop time.
- Parameters:
stopped
- The job's stop time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
counters
The job's result counters.
- Parameters:
counters
- The job's result counters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
counters
The job's result counters.
This is a convenience method that creates an instance of theCounters.Builder
avoiding the need to create one manually viaCounters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocounters(Counters)
.- Parameters:
counters
- a consumer that will call methods onCounters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
A message about the job's result.
- Parameters:
message
- A message about the job's result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
device
The device (phone or tablet).
- Parameters:
device
- The device (phone or tablet).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
device
The device (phone or tablet).
This is a convenience method that creates an instance of theDevice.Builder
avoiding the need to create one manually viaDevice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todevice(Device)
.- Parameters:
device
- a consumer that will call methods onDevice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceArn
The ARN of the instance.
- Parameters:
instanceArn
- The ARN of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceMinutes
Represents the total (metered or unmetered) minutes used by the job.
- Parameters:
deviceMinutes
- Represents the total (metered or unmetered) minutes used by the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceMinutes
Represents the total (metered or unmetered) minutes used by the job.
This is a convenience method that creates an instance of theDeviceMinutes.Builder
avoiding the need to create one manually viaDeviceMinutes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceMinutes(DeviceMinutes)
.- Parameters:
deviceMinutes
- a consumer that will call methods onDeviceMinutes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
videoEndpoint
The endpoint for streaming device video.
- Parameters:
videoEndpoint
- The endpoint for streaming device video.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
videoCapture
This value is set to true if video capture is enabled. Otherwise, it is set to false.
- Parameters:
videoCapture
- This value is set to true if video capture is enabled. Otherwise, it is set to false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-