StructuredPojo
, ToCopyableBuilder<Run.Builder,Run>
@Generated("software.amazon.awssdk:codegen") public class Run extends Object implements StructuredPojo, ToCopyableBuilder<Run.Builder,Run>
Represents an app on a set of devices with a specific test and configuration.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Run.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
arn() |
The run's ARN.
|
String |
billingMethod() |
Specifies the billing method for a test run:
metered or unmetered . |
static Run.Builder |
builder() |
|
Integer |
completedJobs() |
The total number of completed jobs.
|
Counters |
counters() |
The run's result counters.
|
Date |
created() |
When the run was created.
|
DeviceMinutes |
deviceMinutes() |
Represents the total (metered or unmetered) minutes used by the test run.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
message() |
A message about the run's result.
|
String |
name() |
The run's name.
|
NetworkProfile |
networkProfile() |
The network profile being used for a test run.
|
String |
platform() |
The run's platform.
|
String |
result() |
The run's result.
|
static Class<? extends Run.Builder> |
serializableBuilderClass() |
|
Date |
started() |
The run's start time.
|
String |
status() |
The run's status.
|
Date |
stopped() |
The run's stop time.
|
Run.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
Integer |
totalJobs() |
The total number of jobs for the run.
|
String |
type() |
The run's type.
|
public String arn()
The run's ARN.
public String name()
The run's name.
public 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.
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
public String platform()
The run's platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
Allowed values include:
ANDROID: The Android platform.
IOS: The iOS platform.
DevicePlatform
public Date created()
When the run was created.
public 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.
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
public 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.
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
public Date started()
The run's start time.
public Date stopped()
The run's stop time.
public Counters counters()
The run's result counters.
public String message()
A message about the run's result.
public Integer totalJobs()
The total number of jobs for the run.
public Integer completedJobs()
The total number of completed jobs.
public String billingMethod()
Specifies the billing method for a test run: metered
or unmetered
. If the parameter is
not specified, the default value is metered
.
metered
or unmetered
. If the
parameter is not specified, the default value is metered
.BillingMethod
public DeviceMinutes deviceMinutes()
Represents the total (metered or unmetered) minutes used by the test run.
public NetworkProfile networkProfile()
The network profile being used for a test run.
public Run.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Run.Builder,Run>
public static Run.Builder builder()
public static Class<? extends Run.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.