Class Run
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Run.Builder,Run>
Represents a test run on a set of devices with a given app package, test parameters, and so on.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringAn app to upload or that has been uploaded.final Stringarn()The run's ARN.final BillingMethodSpecifies the billing method for a test run:meteredorunmetered.final StringSpecifies the billing method for a test run:meteredorunmetered.static Run.Builderbuilder()final IntegerThe total number of completed jobs.final Counterscounters()The run's result counters.final Instantcreated()When the run was created.final CustomerArtifactPathsOutputCustomerArtifactPathsobject for the test run.final DeviceMinutesRepresents the total (metered or unmetered) minutes used by the test run.final StringThe ARN of the device pool for the run.final DeviceProxyThe device proxy configured for the devices in the run.final DeviceSelectionResultThe results of a device filter used to select the devices for a test run.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final IntegerFor fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe number of minutes the job executes before it times out.final Stringlocale()Information about the locale that is used for the run.final Locationlocation()Information about the location that is used for the run.final Stringmessage()A message about the run's result.final Stringname()The run's name.final NetworkProfileThe network profile being used for a test run.final StringRead-only URL for an object in an S3 bucket where you can get the parsing results of the test package.final DevicePlatformplatform()The run's platform.final StringThe run's platform.final Radiosradios()Information about the radio states for the run.final ExecutionResultresult()The run's result.final StringThe run's result.final ExecutionResultCodeSupporting field for the result field.final StringSupporting field for the result field.final Integerseed()For fuzz tests, this is a seed to use for randomizing the UI fuzz test.static Class<? extends Run.Builder> final BooleanWhen set totrue, for private devices, Device Farm does not sign your app again.final Instantstarted()The run's start time.final ExecutionStatusstatus()The run's status.final StringThe run's status.final Instantstopped()The run's stop time.final StringThe ARN of the YAML-formatted test specification for the run.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final IntegerThe total number of jobs for the run.final TestTypetype()The run's type.final StringThe run's type.final VpcConfigThe VPC security groups and subnets that are attached to a project.final StringwebUrl()The Device Farm console URL for the recording of the run.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
arn
-
name
-
type
The run's type.
Must be one of the following values:
-
BUILTIN_FUZZ
-
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
-
INSTRUMENTATION
-
XCTEST
-
XCTEST_UI
If the service returns an enum value that is not available in the current SDK version,
typewill returnTestType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The run's type.
Must be one of the following values:
-
BUILTIN_FUZZ
-
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
-
INSTRUMENTATION
-
XCTEST
-
XCTEST_UI
-
- See Also:
-
-
typeAsString
The run's type.
Must be one of the following values:
-
BUILTIN_FUZZ
-
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
-
INSTRUMENTATION
-
XCTEST
-
XCTEST_UI
If the service returns an enum value that is not available in the current SDK version,
typewill returnTestType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The run's type.
Must be one of the following values:
-
BUILTIN_FUZZ
-
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
-
INSTRUMENTATION
-
XCTEST
-
XCTEST_UI
-
- See Also:
-
-
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,
platformwill returnDevicePlatform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromplatformAsString().- Returns:
- The run's platform.
Allowed values include:
-
ANDROID
-
IOS
-
- See Also:
-
-
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,
platformwill returnDevicePlatform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromplatformAsString().- Returns:
- The run's platform.
Allowed values include:
-
ANDROID
-
IOS
-
- See Also:
-
-
created
-
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,
statuswill returnExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The run's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
-
- See Also:
-
-
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,
statuswill returnExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The run's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
-
- See Also:
-
-
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,
resultwill returnExecutionResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresultAsString().- Returns:
- The run's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
-
- See Also:
-
-
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,
resultwill returnExecutionResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresultAsString().- Returns:
- The run's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
-
- See Also:
-
-
started
-
stopped
-
counters
-
message
A message about the run's result.
- Returns:
- A message about the run's result.
-
totalJobs
The total number of jobs for the run.
- Returns:
- The total number of jobs for the run.
-
completedJobs
The total number of completed jobs.
- Returns:
- The total number of completed jobs.
-
billingMethod
Specifies the billing method for a test run:
meteredorunmetered. If the parameter is not specified, the default value ismetered.If you have unmetered device slots, you must set this to
unmeteredto 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,
billingMethodwill returnBillingMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombillingMethodAsString().- Returns:
- Specifies the billing method for a test run:
meteredorunmetered. If the parameter is not specified, the default value ismetered.If you have unmetered device slots, you must set this to
unmeteredto use them. Otherwise, the run is counted toward metered device minutes. - See Also:
-
billingMethodAsString
Specifies the billing method for a test run:
meteredorunmetered. If the parameter is not specified, the default value ismetered.If you have unmetered device slots, you must set this to
unmeteredto 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,
billingMethodwill returnBillingMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombillingMethodAsString().- Returns:
- Specifies the billing method for a test run:
meteredorunmetered. If the parameter is not specified, the default value ismetered.If you have unmetered device slots, you must set this to
unmeteredto use them. Otherwise, the run is counted toward metered device minutes. - See Also:
-
deviceMinutes
Represents the total (metered or unmetered) minutes used by the test run.
- Returns:
- Represents the total (metered or unmetered) minutes used by the test run.
-
networkProfile
The network profile being used for a test run.
- Returns:
- The network profile being used for a test run.
-
deviceProxy
The device proxy configured for the devices in the run.
- Returns:
- The device proxy configured for the devices in the run.
-
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.
- Returns:
- 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.
-
resultCode
Supporting field for the result field. Set only if
resultisSKIPPED.PARSING_FAILEDif 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,
resultCodewill returnExecutionResultCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresultCodeAsString().- Returns:
- Supporting field for the result field. Set only if
resultisSKIPPED.PARSING_FAILEDif the result is skipped because of test package parsing failure. - See Also:
-
resultCodeAsString
Supporting field for the result field. Set only if
resultisSKIPPED.PARSING_FAILEDif 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,
resultCodewill returnExecutionResultCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresultCodeAsString().- Returns:
- Supporting field for the result field. Set only if
resultisSKIPPED.PARSING_FAILEDif the result is skipped because of test package parsing failure. - See Also:
-
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.
- Returns:
- 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.
-
appUpload
An app to upload or that has been uploaded.
- Returns:
- An app to upload or that has been uploaded.
-
eventCount
For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.
- Returns:
- For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.
-
jobTimeoutMinutes
The number of minutes the job executes before it times out.
- Returns:
- The number of minutes the job executes before it times out.
-
devicePoolArn
The ARN of the device pool for the run.
- Returns:
- The ARN of the device pool for the run.
-
locale
Information about the locale that is used for the run.
- Returns:
- Information about the locale that is used for the run.
-
radios
Information about the radio states for the run.
- Returns:
- Information about the radio states for the run.
-
location
Information about the location that is used for the run.
- Returns:
- Information about the location that is used for the run.
-
customerArtifactPaths
Output
CustomerArtifactPathsobject for the test run.- Returns:
- Output
CustomerArtifactPathsobject for the test run.
-
webUrl
The Device Farm console URL for the recording of the run.
- Returns:
- The Device Farm console URL for the recording of the run.
-
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.
- Returns:
- 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.
-
testSpecArn
The ARN of the YAML-formatted test specification for the run.
- Returns:
- The ARN of the YAML-formatted test specification for the run.
-
deviceSelectionResult
The results of a device filter used to select the devices for a test run.
- Returns:
- The results of a device filter used to select the devices for a test run.
-
vpcConfig
The VPC security groups and subnets that are attached to a project.
- Returns:
- The VPC security groups and subnets that are attached to a project.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Run.Builder,Run> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-