public static interface Run.Builder extends CopyableBuilder<Run.Builder,Run>
Modifier and Type | Method and Description |
---|---|
Run.Builder |
arn(String arn)
The run's ARN.
|
Run.Builder |
billingMethod(BillingMethod billingMethod)
Specifies the billing method for a test run:
metered or unmetered . |
Run.Builder |
billingMethod(String billingMethod)
Specifies the billing method for a test run:
metered or unmetered . |
Run.Builder |
completedJobs(Integer completedJobs)
The total number of completed jobs.
|
default Run.Builder |
counters(Consumer<Counters.Builder> counters)
The run's result counters.
|
Run.Builder |
counters(Counters counters)
The run's result counters.
|
Run.Builder |
created(Instant created)
When the run was created.
|
default Run.Builder |
customerArtifactPaths(Consumer<CustomerArtifactPaths.Builder> customerArtifactPaths)
Output
CustomerArtifactPaths object for the test run. |
Run.Builder |
customerArtifactPaths(CustomerArtifactPaths customerArtifactPaths)
Output
CustomerArtifactPaths object for the test run. |
default Run.Builder |
deviceMinutes(Consumer<DeviceMinutes.Builder> deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test run.
|
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.
|
default Run.Builder |
networkProfile(Consumer<NetworkProfile.Builder> networkProfile)
The network profile being used for a test run.
|
Run.Builder |
networkProfile(NetworkProfile networkProfile)
The network profile being used for a test run.
|
Run.Builder |
parsingResultUrl(String parsingResultUrl)
Read-only URL for an object in S3 bucket where you can get the parsing results of the test package.
|
Run.Builder |
platform(DevicePlatform platform)
The run's platform.
|
Run.Builder |
platform(String platform)
The run's platform.
|
Run.Builder |
result(ExecutionResult result)
The run's result.
|
Run.Builder |
result(String result)
The run's result.
|
Run.Builder |
resultCode(ExecutionResultCode resultCode)
Supporting field for the result field.
|
Run.Builder |
resultCode(String resultCode)
Supporting field for the result field.
|
Run.Builder |
started(Instant started)
The run's start time.
|
Run.Builder |
status(ExecutionStatus status)
The run's status.
|
Run.Builder |
status(String status)
The run's status.
|
Run.Builder |
stopped(Instant 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
,
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
,
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
,
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
,
DevicePlatform
Run.Builder created(Instant 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
,
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
,
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
,
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
,
ExecutionResult
Run.Builder started(Instant started)
The run's start time.
started
- The run's start time.Run.Builder stopped(Instant 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.default Run.Builder counters(Consumer<Counters.Builder> counters)
The run'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.Builder
counters(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
,
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
,
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.default Run.Builder deviceMinutes(Consumer<DeviceMinutes.Builder> deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test run.
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.Builder
deviceMinutes(DeviceMinutes)
Run.Builder networkProfile(NetworkProfile networkProfile)
The network profile being used for a test run.
networkProfile
- The network profile being used for a test run.default Run.Builder networkProfile(Consumer<NetworkProfile.Builder> networkProfile)
The network profile being used for a test run.
This is a convenience that creates an instance of theNetworkProfile.Builder
avoiding the need to
create one manually via NetworkProfile.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to networkProfile(NetworkProfile)
.networkProfile
- a consumer that will call methods on NetworkProfile.Builder
networkProfile(NetworkProfile)
Run.Builder parsingResultUrl(String parsingResultUrl)
Read-only URL for an object in S3 bucket where you can get the parsing results of the test package. If the test package doesn't parse, the reason why it doesn't parse appears in the file that this URL points to.
parsingResultUrl
- Read-only URL for an object in S3 bucket where you can get the parsing results of the test package. If
the test package doesn't parse, the reason why it doesn't parse appears in the file that this URL
points to.Run.Builder resultCode(String resultCode)
Supporting field for the result field. Set only if result
is SKIPPED
.
PARSING_FAILED
if the result is skipped because of test package parsing failure.
resultCode
- Supporting field for the result field. Set only if result
is SKIPPED
.
PARSING_FAILED
if the result is skipped because of test package parsing failure.ExecutionResultCode
,
ExecutionResultCode
Run.Builder resultCode(ExecutionResultCode resultCode)
Supporting field for the result field. Set only if result
is SKIPPED
.
PARSING_FAILED
if the result is skipped because of test package parsing failure.
resultCode
- Supporting field for the result field. Set only if result
is SKIPPED
.
PARSING_FAILED
if the result is skipped because of test package parsing failure.ExecutionResultCode
,
ExecutionResultCode
Run.Builder customerArtifactPaths(CustomerArtifactPaths customerArtifactPaths)
Output CustomerArtifactPaths
object for the test run.
customerArtifactPaths
- Output CustomerArtifactPaths
object for the test run.default Run.Builder customerArtifactPaths(Consumer<CustomerArtifactPaths.Builder> customerArtifactPaths)
Output CustomerArtifactPaths
object for the test run.
CustomerArtifactPaths.Builder
avoiding the need
to create one manually via CustomerArtifactPaths.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to customerArtifactPaths(CustomerArtifactPaths)
.customerArtifactPaths
- a consumer that will call methods on CustomerArtifactPaths.Builder
customerArtifactPaths(CustomerArtifactPaths)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.