@Generated(value="software.amazon.awssdk:codegen") public final class Run extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Run.Builder,Run>
Represents a test run on a set of devices with a given app package, test parameters, and so on.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Run.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
appUpload()
An app to upload or that has been uploaded.
|
String |
arn()
The run's ARN.
|
BillingMethod |
billingMethod()
Specifies the billing method for a test run:
metered or unmetered. |
String |
billingMethodAsString()
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.
|
Instant |
created()
When the run was created.
|
CustomerArtifactPaths |
customerArtifactPaths()
Output
CustomerArtifactPaths object for the test run. |
DeviceMinutes |
deviceMinutes()
Represents the total (metered or unmetered) minutes used by the test run.
|
String |
devicePoolArn()
The ARN of the device pool for the run.
|
DeviceSelectionResult |
deviceSelectionResult()
The results of a device filter used to select the devices for a test run.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Integer |
eventCount()
For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
jobTimeoutMinutes()
The number of minutes the job executes before it times out.
|
String |
locale()
Information about the locale that is used for the run.
|
Location |
location()
Information about the location that is used for the run.
|
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 |
parsingResultUrl()
Read-only URL for an object in an S3 bucket where you can get the parsing results of the test package.
|
DevicePlatform |
platform()
The run's platform.
|
String |
platformAsString()
The run's platform.
|
Radios |
radios()
Information about the radio states for the run.
|
ExecutionResult |
result()
The run's result.
|
String |
resultAsString()
The run's result.
|
ExecutionResultCode |
resultCode()
Supporting field for the result field.
|
String |
resultCodeAsString()
Supporting field for the result field.
|
List<SdkField<?>> |
sdkFields() |
Integer |
seed()
For fuzz tests, this is a seed to use for randomizing the UI fuzz test.
|
static Class<? extends Run.Builder> |
serializableBuilderClass() |
Boolean |
skipAppResign()
When set to
true, for private devices, Device Farm does not sign your app again. |
Instant |
started()
The run's start time.
|
ExecutionStatus |
status()
The run's status.
|
String |
statusAsString()
The run's status.
|
Instant |
stopped()
The run's stop time.
|
String |
testSpecArn()
The ARN of the YAML-formatted test specification for the run.
|
Run.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
totalJobs()
The total number of jobs for the run.
|
TestType |
type()
The run's type.
|
String |
typeAsString()
The run's type.
|
String |
webUrl()
The Device Farm console URL for the recording of the run.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The run's ARN.
public final String name()
The run's name.
public final TestType type()
The run's type.
Must be one of the following values:
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
If the service returns an enum value that is not available in the current SDK version, type will return
TestType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
Must be one of the following values:
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
TestTypepublic final String typeAsString()
The run's type.
Must be one of the following values:
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
If the service returns an enum value that is not available in the current SDK version, type will return
TestType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
Must be one of the following values:
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
TestTypepublic final DevicePlatform platform()
The run's platform.
Allowed values include:
ANDROID
IOS
If the service returns an enum value that is not available in the current SDK version, platform will
return DevicePlatform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
platformAsString().
Allowed values include:
ANDROID
IOS
DevicePlatformpublic final String platformAsString()
The run's platform.
Allowed values include:
ANDROID
IOS
If the service returns an enum value that is not available in the current SDK version, platform will
return DevicePlatform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
platformAsString().
Allowed values include:
ANDROID
IOS
DevicePlatformpublic final Instant created()
When the run was created.
public final ExecutionStatus status()
The run's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
If the service returns an enum value that is not available in the current SDK version, status will
return ExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatuspublic final String statusAsString()
The run's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
If the service returns an enum value that is not available in the current SDK version, status will
return ExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatuspublic final ExecutionResult result()
The run's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
If the service returns an enum value that is not available in the current SDK version, result will
return ExecutionResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resultAsString().
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResultpublic final String resultAsString()
The run's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
If the service returns an enum value that is not available in the current SDK version, result will
return ExecutionResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resultAsString().
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResultpublic final Instant started()
The run's start time.
public final Instant stopped()
The run's stop time.
public final Counters counters()
The run's result counters.
public final String message()
A message about the run's result.
public final Integer totalJobs()
The total number of jobs for the run.
public final Integer completedJobs()
The total number of completed jobs.
public final BillingMethod billingMethod()
Specifies the billing method for a test run: metered or unmetered. If the parameter is
not specified, the default value is metered.
If you have unmetered device slots, you must set this to unmetered to use them. Otherwise, the run
is counted toward metered device minutes.
If the service returns an enum value that is not available in the current SDK version, billingMethod
will return BillingMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
billingMethodAsString().
metered or unmetered. If the
parameter is not specified, the default value is metered.
If you have unmetered device slots, you must set this to unmetered to use them. Otherwise,
the run is counted toward metered device minutes.
BillingMethodpublic final String billingMethodAsString()
Specifies the billing method for a test run: metered or unmetered. If the parameter is
not specified, the default value is metered.
If you have unmetered device slots, you must set this to unmetered to use them. Otherwise, the run
is counted toward metered device minutes.
If the service returns an enum value that is not available in the current SDK version, billingMethod
will return BillingMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
billingMethodAsString().
metered or unmetered. If the
parameter is not specified, the default value is metered.
If you have unmetered device slots, you must set this to unmetered to use them. Otherwise,
the run is counted toward metered device minutes.
BillingMethodpublic final DeviceMinutes deviceMinutes()
Represents the total (metered or unmetered) minutes used by the test run.
public final NetworkProfile networkProfile()
The network profile being used for a test run.
public final String parsingResultUrl()
Read-only URL for an object in an 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.
public final 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.
If the service returns an enum value that is not available in the current SDK version, resultCode will
return ExecutionResultCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from resultCodeAsString().
result is SKIPPED.
PARSING_FAILED if the result is skipped because of test package parsing failure.ExecutionResultCodepublic final String resultCodeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, resultCode will
return ExecutionResultCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from resultCodeAsString().
result is SKIPPED.
PARSING_FAILED if the result is skipped because of test package parsing failure.ExecutionResultCodepublic final Integer seed()
For fuzz tests, this is a seed to use for randomizing the UI fuzz test. Using the same seed value between tests ensures identical event sequences.
public final String appUpload()
An app to upload or that has been uploaded.
public final Integer eventCount()
For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.
public final Integer jobTimeoutMinutes()
The number of minutes the job executes before it times out.
public final String devicePoolArn()
The ARN of the device pool for the run.
public final String locale()
Information about the locale that is used for the run.
public final Radios radios()
Information about the radio states for the run.
public final Location location()
Information about the location that is used for the run.
public final CustomerArtifactPaths customerArtifactPaths()
Output CustomerArtifactPaths object for the test run.
CustomerArtifactPaths object for the test run.public final String webUrl()
The Device Farm console URL for the recording of the run.
public final Boolean skipAppResign()
When set to true, for private devices, Device Farm does not sign your app again. For public devices,
Device Farm always signs your apps again.
For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs.
true, for private devices, Device Farm does not sign your app again. For public
devices, Device Farm always signs your apps again.
For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs.
public final String testSpecArn()
The ARN of the YAML-formatted test specification for the run.
public final DeviceSelectionResult deviceSelectionResult()
The results of a device filter used to select the devices for a test run.
public Run.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Run.Builder,Run>public static Run.Builder builder()
public static Class<? extends Run.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.