CopyableBuilder<Run.Builder,Run>
, SdkBuilder<Run.Builder,Run>
public static interface Run.Builder extends CopyableBuilder<Run.Builder,Run>
Modifier and Type | Method | Description |
---|---|---|
Run.Builder |
arn(String arn) |
The run's ARN.
|
Run.Builder |
billingMethod(String billingMethod) |
Specifies the billing method for a test run:
metered or unmetered . |
Run.Builder |
billingMethod(BillingMethod billingMethod) |
Specifies the billing method for a test run:
metered or unmetered . |
Run.Builder |
completedJobs(Integer completedJobs) |
The total number of completed jobs.
|
Run.Builder |
counters(Counters counters) |
The run's result counters.
|
Run.Builder |
created(Date created) |
When the run was created.
|
Run.Builder |
deviceMinutes(DeviceMinutes deviceMinutes) |
Represents the total (metered or unmetered) minutes used by the test run.
|
Run.Builder |
message(String message) |
A message about the run's result.
|
Run.Builder |
name(String name) |
The run's name.
|
Run.Builder |
networkProfile(NetworkProfile networkProfile) |
The network profile being used for a test run.
|
Run.Builder |
platform(String platform) |
The run's platform.
|
Run.Builder |
platform(DevicePlatform platform) |
The run's platform.
|
Run.Builder |
result(String result) |
The run's result.
|
Run.Builder |
result(ExecutionResult result) |
The run's result.
|
Run.Builder |
started(Date started) |
The run's start time.
|
Run.Builder |
status(String status) |
The run's status.
|
Run.Builder |
status(ExecutionStatus status) |
The run's status.
|
Run.Builder |
stopped(Date stopped) |
The run's stop time.
|
Run.Builder |
totalJobs(Integer totalJobs) |
The total number of jobs for the run.
|
Run.Builder |
type(String type) |
The run's type.
|
Run.Builder |
type(TestType type) |
The run's type.
|
copy
apply, build
Run.Builder arn(String arn)
The run's ARN.
arn
- The run's ARN.Run.Builder name(String name)
The run's name.
name
- The run's name.Run.Builder type(String type)
The run's type.
Must be one of the following values:
BUILTIN_FUZZ: The built-in fuzz type.
BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.
APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
APPIUM_PYTHON: The Appium Python type.
APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
CALABASH: The Calabash type.
INSTRUMENTATION: The Instrumentation type.
UIAUTOMATION: The uiautomation type.
UIAUTOMATOR: The uiautomator type.
XCTEST: The XCode test type.
XCTEST_UI: The XCode UI test type.
type
- The run's type.
Must be one of the following values:
BUILTIN_FUZZ: The built-in fuzz type.
BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.
APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
APPIUM_PYTHON: The Appium Python type.
APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
CALABASH: The Calabash type.
INSTRUMENTATION: The Instrumentation type.
UIAUTOMATION: The uiautomation type.
UIAUTOMATOR: The uiautomator type.
XCTEST: The XCode test type.
XCTEST_UI: The XCode UI test type.
TestType
Run.Builder type(TestType type)
The run's type.
Must be one of the following values:
BUILTIN_FUZZ: The built-in fuzz type.
BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.
APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
APPIUM_PYTHON: The Appium Python type.
APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
CALABASH: The Calabash type.
INSTRUMENTATION: The Instrumentation type.
UIAUTOMATION: The uiautomation type.
UIAUTOMATOR: The uiautomator type.
XCTEST: The XCode test type.
XCTEST_UI: The XCode UI test type.
type
- The run's type.
Must be one of the following values:
BUILTIN_FUZZ: The built-in fuzz type.
BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.
APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
APPIUM_PYTHON: The Appium Python type.
APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
CALABASH: The Calabash type.
INSTRUMENTATION: The Instrumentation type.
UIAUTOMATION: The uiautomation type.
UIAUTOMATOR: The uiautomator type.
XCTEST: The XCode test type.
XCTEST_UI: The XCode UI test type.
TestType
Run.Builder platform(String platform)
The run's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
platform
- The run's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
DevicePlatform
Run.Builder platform(DevicePlatform platform)
The run's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
platform
- The run's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
DevicePlatform
Run.Builder created(Date created)
When the run was created.
created
- When the run was created.Run.Builder status(String status)
The run's status.
Allowed values include:
PENDING: A pending status.
PENDING_CONCURRENCY: A pending concurrency status.
PENDING_DEVICE: A pending device status.
PROCESSING: A processing status.
SCHEDULING: A scheduling status.
PREPARING: A preparing status.
RUNNING: A running status.
COMPLETED: A completed status.
STOPPING: A stopping status.
status
- The run's status.
Allowed values include:
PENDING: A pending status.
PENDING_CONCURRENCY: A pending concurrency status.
PENDING_DEVICE: A pending device status.
PROCESSING: A processing status.
SCHEDULING: A scheduling status.
PREPARING: A preparing status.
RUNNING: A running status.
COMPLETED: A completed status.
STOPPING: A stopping status.
ExecutionStatus
Run.Builder status(ExecutionStatus status)
The run's status.
Allowed values include:
PENDING: A pending status.
PENDING_CONCURRENCY: A pending concurrency status.
PENDING_DEVICE: A pending device status.
PROCESSING: A processing status.
SCHEDULING: A scheduling status.
PREPARING: A preparing status.
RUNNING: A running status.
COMPLETED: A completed status.
STOPPING: A stopping status.
status
- The run's status.
Allowed values include:
PENDING: A pending status.
PENDING_CONCURRENCY: A pending concurrency status.
PENDING_DEVICE: A pending device status.
PROCESSING: A processing status.
SCHEDULING: A scheduling status.
PREPARING: A preparing status.
RUNNING: A running status.
COMPLETED: A completed status.
STOPPING: A stopping status.
ExecutionStatus
Run.Builder result(String result)
The run's result.
Allowed values include:
PENDING: A pending condition.
PASSED: A passing condition.
WARNED: A warning condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
ERRORED: An error condition.
STOPPED: A stopped condition.
result
- The run's result.
Allowed values include:
PENDING: A pending condition.
PASSED: A passing condition.
WARNED: A warning condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
ERRORED: An error condition.
STOPPED: A stopped condition.
ExecutionResult
Run.Builder result(ExecutionResult result)
The run's result.
Allowed values include:
PENDING: A pending condition.
PASSED: A passing condition.
WARNED: A warning condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
ERRORED: An error condition.
STOPPED: A stopped condition.
result
- The run's result.
Allowed values include:
PENDING: A pending condition.
PASSED: A passing condition.
WARNED: A warning condition.
FAILED: A failed condition.
SKIPPED: A skipped condition.
ERRORED: An error condition.
STOPPED: A stopped condition.
ExecutionResult
Run.Builder started(Date started)
The run's start time.
started
- The run's start time.Run.Builder stopped(Date stopped)
The run's stop time.
stopped
- The run's stop time.Run.Builder counters(Counters counters)
The run's result counters.
counters
- The run's result counters.Run.Builder message(String message)
A message about the run's result.
message
- A message about the run's result.Run.Builder totalJobs(Integer totalJobs)
The total number of jobs for the run.
totalJobs
- The total number of jobs for the run.Run.Builder completedJobs(Integer completedJobs)
The total number of completed jobs.
completedJobs
- The total number of completed jobs.Run.Builder billingMethod(String billingMethod)
Specifies the billing method for a test run: metered
or unmetered
. If the parameter
is not specified, the default value is metered
.
billingMethod
- Specifies the billing method for a test run: metered
or unmetered
. If the
parameter is not specified, the default value is metered
.BillingMethod
Run.Builder billingMethod(BillingMethod billingMethod)
Specifies the billing method for a test run: metered
or unmetered
. If the parameter
is not specified, the default value is metered
.
billingMethod
- Specifies the billing method for a test run: metered
or unmetered
. If the
parameter is not specified, the default value is metered
.BillingMethod
Run.Builder deviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test run.
deviceMinutes
- Represents the total (metered or unmetered) minutes used by the test run.Run.Builder networkProfile(NetworkProfile networkProfile)
The network profile being used for a test run.
networkProfile
- The network profile being used for a test run.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.