Interface Run.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Run.Builder,
,Run> SdkBuilder<Run.Builder,
,Run> SdkPojo
- Enclosing class:
Run
-
Method Summary
Modifier and TypeMethodDescriptionAn app to upload or that has been uploaded.The run's ARN.billingMethod
(String billingMethod) Specifies the billing method for a test run:metered
orunmetered
.billingMethod
(BillingMethod billingMethod) Specifies the billing method for a test run:metered
orunmetered
.completedJobs
(Integer completedJobs) The total number of completed jobs.default Run.Builder
counters
(Consumer<Counters.Builder> counters) The run's result counters.The run's result counters.When the run was created.default Run.Builder
customerArtifactPaths
(Consumer<CustomerArtifactPaths.Builder> customerArtifactPaths) OutputCustomerArtifactPaths
object for the test run.customerArtifactPaths
(CustomerArtifactPaths customerArtifactPaths) OutputCustomerArtifactPaths
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.deviceMinutes
(DeviceMinutes deviceMinutes) Represents the total (metered or unmetered) minutes used by the test run.devicePoolArn
(String devicePoolArn) The ARN of the device pool for the run.default Run.Builder
deviceProxy
(Consumer<DeviceProxy.Builder> deviceProxy) The device proxy configured for the devices in the run.deviceProxy
(DeviceProxy deviceProxy) The device proxy configured for the devices in the run.default Run.Builder
deviceSelectionResult
(Consumer<DeviceSelectionResult.Builder> deviceSelectionResult) The results of a device filter used to select the devices for a test run.deviceSelectionResult
(DeviceSelectionResult deviceSelectionResult) The results of a device filter used to select the devices for a test run.eventCount
(Integer eventCount) For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.jobTimeoutMinutes
(Integer jobTimeoutMinutes) The number of minutes the job executes before it times out.Information about the locale that is used for the run.default Run.Builder
location
(Consumer<Location.Builder> location) Information about the location that is used for the run.Information about the location that is used for the run.A message about the run's result.The run's name.default Run.Builder
networkProfile
(Consumer<NetworkProfile.Builder> networkProfile) The network profile being used for a test run.networkProfile
(NetworkProfile networkProfile) The network profile being used for a test run.parsingResultUrl
(String parsingResultUrl) Read-only URL for an object in an S3 bucket where you can get the parsing results of the test package.The run's platform.platform
(DevicePlatform platform) The run's platform.default Run.Builder
radios
(Consumer<Radios.Builder> radios) Information about the radio states for the run.Information about the radio states for the run.The run's result.result
(ExecutionResult result) The run's result.resultCode
(String resultCode) Supporting field for the result field.resultCode
(ExecutionResultCode resultCode) Supporting field for the result field.For fuzz tests, this is a seed to use for randomizing the UI fuzz test.skipAppResign
(Boolean skipAppResign) When set totrue
, for private devices, Device Farm does not sign your app again.The run's start time.The run's status.status
(ExecutionStatus status) The run's status.The run's stop time.testSpecArn
(String testSpecArn) The ARN of the YAML-formatted test specification for the run.The total number of jobs for the run.The run's type.The run's type.default Run.Builder
vpcConfig
(Consumer<VpcConfig.Builder> vpcConfig) The VPC security groups and subnets that are attached to a project.The VPC security groups and subnets that are attached to a project.The Device Farm console URL for the recording of the run.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
The run's ARN.
- Parameters:
arn
- The run's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The run's name.
- Parameters:
name
- The run's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
- Parameters:
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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
- Parameters:
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
platform
The run's platform.
Allowed values include:
-
ANDROID
-
IOS
- Parameters:
platform
- The run's platform.Allowed values include:
-
ANDROID
-
IOS
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
platform
The run's platform.
Allowed values include:
-
ANDROID
-
IOS
- Parameters:
platform
- The run's platform.Allowed values include:
-
ANDROID
-
IOS
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
created
When the run was created.
- Parameters:
created
- When the run was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The run's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
- Parameters:
status
- The run's status.Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The run's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
- Parameters:
status
- The run's status.Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
result
The run's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
- Parameters:
result
- The run's result.Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
result
The run's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
- Parameters:
result
- The run's result.Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
started
The run's start time.
- Parameters:
started
- The run's start time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopped
The run's stop time.
- Parameters:
stopped
- The run's stop time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
counters
The run's result counters.
- Parameters:
counters
- The run's result counters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
counters
The run's result counters.
This is a convenience method that creates an instance of theCounters.Builder
avoiding the need to create one manually viaCounters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocounters(Counters)
.- Parameters:
counters
- a consumer that will call methods onCounters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
A message about the run's result.
- Parameters:
message
- A message about the run's result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalJobs
The total number of jobs for the run.
- Parameters:
totalJobs
- The total number of jobs for the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedJobs
The total number of completed jobs.
- Parameters:
completedJobs
- The total number of completed jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingMethod
Specifies the billing method for a test run:
metered
orunmetered
. If the parameter is not specified, the default value ismetered
.If you have unmetered device slots, you must set this to
unmetered
to use them. Otherwise, the run is counted toward metered device minutes.- Parameters:
billingMethod
- Specifies the billing method for a test run:metered
orunmetered
. If the parameter is not specified, the default value ismetered
.If you have unmetered device slots, you must set this to
unmetered
to use them. Otherwise, the run is counted toward metered device minutes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
billingMethod
Specifies the billing method for a test run:
metered
orunmetered
. If the parameter is not specified, the default value ismetered
.If you have unmetered device slots, you must set this to
unmetered
to use them. Otherwise, the run is counted toward metered device minutes.- Parameters:
billingMethod
- Specifies the billing method for a test run:metered
orunmetered
. If the parameter is not specified, the default value ismetered
.If you have unmetered device slots, you must set this to
unmetered
to use them. Otherwise, the run is counted toward metered device minutes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deviceMinutes
Represents the total (metered or unmetered) minutes used by the test run.
- Parameters:
deviceMinutes
- Represents the total (metered or unmetered) minutes used by the test run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceMinutes
Represents the total (metered or unmetered) minutes used by the test run.
This is a convenience method that creates an instance of theDeviceMinutes.Builder
avoiding the need to create one manually viaDeviceMinutes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceMinutes(DeviceMinutes)
.- Parameters:
deviceMinutes
- a consumer that will call methods onDeviceMinutes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkProfile
The network profile being used for a test run.
- Parameters:
networkProfile
- The network profile being used for a test run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkProfile
The network profile being used for a test run.
This is a convenience method that creates an instance of theNetworkProfile.Builder
avoiding the need to create one manually viaNetworkProfile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkProfile(NetworkProfile)
.- Parameters:
networkProfile
- a consumer that will call methods onNetworkProfile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deviceProxy
The device proxy configured for the devices in the run.
- Parameters:
deviceProxy
- The device proxy configured for the devices in the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceProxy
The device proxy configured for the devices in the run.
This is a convenience method that creates an instance of theDeviceProxy.Builder
avoiding the need to create one manually viaDeviceProxy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceProxy(DeviceProxy)
.- Parameters:
deviceProxy
- a consumer that will call methods onDeviceProxy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
resultCode
Supporting field for the result field. Set only if
result
isSKIPPED
.PARSING_FAILED
if the result is skipped because of test package parsing failure.- Parameters:
resultCode
- Supporting field for the result field. Set only ifresult
isSKIPPED
.PARSING_FAILED
if the result is skipped because of test package parsing failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resultCode
Supporting field for the result field. Set only if
result
isSKIPPED
.PARSING_FAILED
if the result is skipped because of test package parsing failure.- Parameters:
resultCode
- Supporting field for the result field. Set only ifresult
isSKIPPED
.PARSING_FAILED
if the result is skipped because of test package parsing failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
appUpload
An app to upload or that has been uploaded.
- Parameters:
appUpload
- An app to upload or that has been uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventCount
For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.
- Parameters:
eventCount
- For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobTimeoutMinutes
The number of minutes the job executes before it times out.
- Parameters:
jobTimeoutMinutes
- The number of minutes the job executes before it times out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devicePoolArn
The ARN of the device pool for the run.
- Parameters:
devicePoolArn
- The ARN of the device pool for the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locale
Information about the locale that is used for the run.
- Parameters:
locale
- Information about the locale that is used for the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
radios
Information about the radio states for the run.
- Parameters:
radios
- Information about the radio states for the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
radios
Information about the radio states for the run.
This is a convenience method that creates an instance of theRadios.Builder
avoiding the need to create one manually viaRadios.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toradios(Radios)
.- Parameters:
radios
- a consumer that will call methods onRadios.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
location
Information about the location that is used for the run.
- Parameters:
location
- Information about the location that is used for the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
Information about the location that is used for the run.
This is a convenience method that creates an instance of theLocation.Builder
avoiding the need to create one manually viaLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocation(Location)
.- Parameters:
location
- a consumer that will call methods onLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customerArtifactPaths
Output
CustomerArtifactPaths
object for the test run.- Parameters:
customerArtifactPaths
- OutputCustomerArtifactPaths
object for the test run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerArtifactPaths
default Run.Builder customerArtifactPaths(Consumer<CustomerArtifactPaths.Builder> customerArtifactPaths) Output
This is a convenience method that creates an instance of theCustomerArtifactPaths
object for the test run.CustomerArtifactPaths.Builder
avoiding the need to create one manually viaCustomerArtifactPaths.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomerArtifactPaths(CustomerArtifactPaths)
.- Parameters:
customerArtifactPaths
- a consumer that will call methods onCustomerArtifactPaths.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
webUrl
The Device Farm console URL for the recording of the run.
- Parameters:
webUrl
- The Device Farm console URL for the recording of the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
skipAppResign
- When set totrue
, 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:
- Returns a reference to this object so that method calls can be chained together.
-
testSpecArn
The ARN of the YAML-formatted test specification for the run.
- Parameters:
testSpecArn
- The ARN of the YAML-formatted test specification for the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceSelectionResult
The results of a device filter used to select the devices for a test run.
- Parameters:
deviceSelectionResult
- The results of a device filter used to select the devices for a test run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceSelectionResult
default Run.Builder deviceSelectionResult(Consumer<DeviceSelectionResult.Builder> deviceSelectionResult) The results of a device filter used to select the devices for a test run.
This is a convenience method that creates an instance of theDeviceSelectionResult.Builder
avoiding the need to create one manually viaDeviceSelectionResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceSelectionResult(DeviceSelectionResult)
.- Parameters:
deviceSelectionResult
- a consumer that will call methods onDeviceSelectionResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcConfig
The VPC security groups and subnets that are attached to a project.
- Parameters:
vpcConfig
- The VPC security groups and subnets that are attached to a project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
The VPC security groups and subnets that are attached to a project.
This is a convenience method that creates an instance of theVpcConfig.Builder
avoiding the need to create one manually viaVpcConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfig(VpcConfig)
.- Parameters:
vpcConfig
- a consumer that will call methods onVpcConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-