public static interface Suite.Builder extends SdkPojo, CopyableBuilder<Suite.Builder,Suite>
| Modifier and Type | Method and Description |
|---|---|
Suite.Builder |
arn(String arn)
The suite's ARN.
|
default Suite.Builder |
counters(Consumer<Counters.Builder> counters)
The suite's result counters.
|
Suite.Builder |
counters(Counters counters)
The suite's result counters.
|
Suite.Builder |
created(Instant created)
When the suite was created.
|
default Suite.Builder |
deviceMinutes(Consumer<DeviceMinutes.Builder> deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test suite.
|
Suite.Builder |
deviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test suite.
|
Suite.Builder |
message(String message)
A message about the suite's result.
|
Suite.Builder |
name(String name)
The suite's name.
|
Suite.Builder |
result(ExecutionResult result)
The suite's result.
|
Suite.Builder |
result(String result)
The suite's result.
|
Suite.Builder |
started(Instant started)
The suite's start time.
|
Suite.Builder |
status(ExecutionStatus status)
The suite's status.
|
Suite.Builder |
status(String status)
The suite's status.
|
Suite.Builder |
stopped(Instant stopped)
The suite's stop time.
|
Suite.Builder |
type(String type)
The suite's type.
|
Suite.Builder |
type(TestType type)
The suite's type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSuite.Builder arn(String arn)
The suite's ARN.
arn - The suite's ARN.Suite.Builder name(String name)
The suite's name.
name - The suite's name.Suite.Builder type(String type)
The suite's type.
Must be one of the following values:
BUILTIN_FUZZ
BUILTIN_EXPLORER
Only available 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 suite's type.
Must be one of the following values:
BUILTIN_FUZZ
BUILTIN_EXPLORER
Only available 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,
TestTypeSuite.Builder type(TestType type)
The suite's type.
Must be one of the following values:
BUILTIN_FUZZ
BUILTIN_EXPLORER
Only available 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 suite's type.
Must be one of the following values:
BUILTIN_FUZZ
BUILTIN_EXPLORER
Only available 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,
TestTypeSuite.Builder created(Instant created)
When the suite was created.
created - When the suite was created.Suite.Builder status(String status)
The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
status - The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatus,
ExecutionStatusSuite.Builder status(ExecutionStatus status)
The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
status - The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatus,
ExecutionStatusSuite.Builder result(String result)
The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result - The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResult,
ExecutionResultSuite.Builder result(ExecutionResult result)
The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result - The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResult,
ExecutionResultSuite.Builder started(Instant started)
The suite's start time.
started - The suite's start time.Suite.Builder stopped(Instant stopped)
The suite's stop time.
stopped - The suite's stop time.Suite.Builder counters(Counters counters)
The suite's result counters.
counters - The suite's result counters.default Suite.Builder counters(Consumer<Counters.Builder> counters)
The suite'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)Suite.Builder message(String message)
A message about the suite's result.
message - A message about the suite's result.Suite.Builder deviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test suite.
deviceMinutes - Represents the total (metered or unmetered) minutes used by the test suite.default Suite.Builder deviceMinutes(Consumer<DeviceMinutes.Builder> deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test suite.
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)Copyright © 2022. All rights reserved.