@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Run extends Object implements Serializable, Cloneable, StructuredPojo
Represents a test run on a set of devices with a given app package, test parameters, and so on.
Constructor and Description |
---|
Run() |
Modifier and Type | Method and Description |
---|---|
Run |
clone() |
boolean |
equals(Object obj) |
String |
getAppUpload()
An app to upload or that has been uploaded.
|
String |
getArn()
The run's ARN.
|
String |
getBillingMethod()
Specifies the billing method for a test run:
metered or unmetered . |
Integer |
getCompletedJobs()
The total number of completed jobs.
|
Counters |
getCounters()
The run's result counters.
|
Date |
getCreated()
When the run was created.
|
CustomerArtifactPaths |
getCustomerArtifactPaths()
Output
CustomerArtifactPaths object for the test run. |
DeviceMinutes |
getDeviceMinutes()
Represents the total (metered or unmetered) minutes used by the test run.
|
String |
getDevicePoolArn()
The ARN of the device pool for the run.
|
DeviceSelectionResult |
getDeviceSelectionResult()
The results of a device filter used to select the devices for a test run.
|
Integer |
getEventCount()
For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.
|
Integer |
getJobTimeoutMinutes()
The number of minutes the job executes before it times out.
|
String |
getLocale()
Information about the locale that is used for the run.
|
Location |
getLocation()
Information about the location that is used for the run.
|
String |
getMessage()
A message about the run's result.
|
String |
getName()
The run's name.
|
NetworkProfile |
getNetworkProfile()
The network profile being used for a test run.
|
String |
getParsingResultUrl()
Read-only URL for an object in an S3 bucket where you can get the parsing results of the test package.
|
String |
getPlatform()
The run's platform.
|
Radios |
getRadios()
Information about the radio states for the run.
|
String |
getResult()
The run's result.
|
String |
getResultCode()
Supporting field for the result field.
|
Integer |
getSeed()
For fuzz tests, this is a seed to use for randomizing the UI fuzz test.
|
Boolean |
getSkipAppResign()
When set to
true , for private devices, Device Farm does not sign your app again. |
Date |
getStarted()
The run's start time.
|
String |
getStatus()
The run's status.
|
Date |
getStopped()
The run's stop time.
|
String |
getTestSpecArn()
The ARN of the YAML-formatted test specification for the run.
|
Integer |
getTotalJobs()
The total number of jobs for the run.
|
String |
getType()
The run's type.
|
VpcConfig |
getVpcConfig()
The VPC security groups and subnets that are attached to a project.
|
String |
getWebUrl()
The Device Farm console URL for the recording of the run.
|
int |
hashCode() |
Boolean |
isSkipAppResign()
When set to
true , for private devices, Device Farm does not sign your app again. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppUpload(String appUpload)
An app to upload or that has been uploaded.
|
void |
setArn(String arn)
The run's ARN.
|
void |
setBillingMethod(BillingMethod billingMethod)
Specifies the billing method for a test run:
metered or unmetered . |
void |
setBillingMethod(String billingMethod)
Specifies the billing method for a test run:
metered or unmetered . |
void |
setCompletedJobs(Integer completedJobs)
The total number of completed jobs.
|
void |
setCounters(Counters counters)
The run's result counters.
|
void |
setCreated(Date created)
When the run was created.
|
void |
setCustomerArtifactPaths(CustomerArtifactPaths customerArtifactPaths)
Output
CustomerArtifactPaths object for the test run. |
void |
setDeviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test run.
|
void |
setDevicePoolArn(String devicePoolArn)
The ARN of the device pool for the run.
|
void |
setDeviceSelectionResult(DeviceSelectionResult deviceSelectionResult)
The results of a device filter used to select the devices for a test run.
|
void |
setEventCount(Integer eventCount)
For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.
|
void |
setJobTimeoutMinutes(Integer jobTimeoutMinutes)
The number of minutes the job executes before it times out.
|
void |
setLocale(String locale)
Information about the locale that is used for the run.
|
void |
setLocation(Location location)
Information about the location that is used for the run.
|
void |
setMessage(String message)
A message about the run's result.
|
void |
setName(String name)
The run's name.
|
void |
setNetworkProfile(NetworkProfile networkProfile)
The network profile being used for a test run.
|
void |
setParsingResultUrl(String parsingResultUrl)
Read-only URL for an object in an S3 bucket where you can get the parsing results of the test package.
|
void |
setPlatform(DevicePlatform platform)
The run's platform.
|
void |
setPlatform(String platform)
The run's platform.
|
void |
setRadios(Radios radios)
Information about the radio states for the run.
|
void |
setResult(ExecutionResult result)
The run's result.
|
void |
setResult(String result)
The run's result.
|
void |
setResultCode(ExecutionResultCode resultCode)
Supporting field for the result field.
|
void |
setResultCode(String resultCode)
Supporting field for the result field.
|
void |
setSeed(Integer seed)
For fuzz tests, this is a seed to use for randomizing the UI fuzz test.
|
void |
setSkipAppResign(Boolean skipAppResign)
When set to
true , for private devices, Device Farm does not sign your app again. |
void |
setStarted(Date started)
The run's start time.
|
void |
setStatus(ExecutionStatus status)
The run's status.
|
void |
setStatus(String status)
The run's status.
|
void |
setStopped(Date stopped)
The run's stop time.
|
void |
setTestSpecArn(String testSpecArn)
The ARN of the YAML-formatted test specification for the run.
|
void |
setTotalJobs(Integer totalJobs)
The total number of jobs for the run.
|
void |
setType(String type)
The run's type.
|
void |
setType(TestType type)
The run's type.
|
void |
setVpcConfig(VpcConfig vpcConfig)
The VPC security groups and subnets that are attached to a project.
|
void |
setWebUrl(String webUrl)
The Device Farm console URL for the recording of the run.
|
String |
toString()
Returns a string representation of this object.
|
Run |
withAppUpload(String appUpload)
An app to upload or that has been uploaded.
|
Run |
withArn(String arn)
The run's ARN.
|
Run |
withBillingMethod(BillingMethod billingMethod)
Specifies the billing method for a test run:
metered or unmetered . |
Run |
withBillingMethod(String billingMethod)
Specifies the billing method for a test run:
metered or unmetered . |
Run |
withCompletedJobs(Integer completedJobs)
The total number of completed jobs.
|
Run |
withCounters(Counters counters)
The run's result counters.
|
Run |
withCreated(Date created)
When the run was created.
|
Run |
withCustomerArtifactPaths(CustomerArtifactPaths customerArtifactPaths)
Output
CustomerArtifactPaths object for the test run. |
Run |
withDeviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test run.
|
Run |
withDevicePoolArn(String devicePoolArn)
The ARN of the device pool for the run.
|
Run |
withDeviceSelectionResult(DeviceSelectionResult deviceSelectionResult)
The results of a device filter used to select the devices for a test run.
|
Run |
withEventCount(Integer eventCount)
For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.
|
Run |
withJobTimeoutMinutes(Integer jobTimeoutMinutes)
The number of minutes the job executes before it times out.
|
Run |
withLocale(String locale)
Information about the locale that is used for the run.
|
Run |
withLocation(Location location)
Information about the location that is used for the run.
|
Run |
withMessage(String message)
A message about the run's result.
|
Run |
withName(String name)
The run's name.
|
Run |
withNetworkProfile(NetworkProfile networkProfile)
The network profile being used for a test run.
|
Run |
withParsingResultUrl(String parsingResultUrl)
Read-only URL for an object in an S3 bucket where you can get the parsing results of the test package.
|
Run |
withPlatform(DevicePlatform platform)
The run's platform.
|
Run |
withPlatform(String platform)
The run's platform.
|
Run |
withRadios(Radios radios)
Information about the radio states for the run.
|
Run |
withResult(ExecutionResult result)
The run's result.
|
Run |
withResult(String result)
The run's result.
|
Run |
withResultCode(ExecutionResultCode resultCode)
Supporting field for the result field.
|
Run |
withResultCode(String resultCode)
Supporting field for the result field.
|
Run |
withSeed(Integer seed)
For fuzz tests, this is a seed to use for randomizing the UI fuzz test.
|
Run |
withSkipAppResign(Boolean skipAppResign)
When set to
true , for private devices, Device Farm does not sign your app again. |
Run |
withStarted(Date started)
The run's start time.
|
Run |
withStatus(ExecutionStatus status)
The run's status.
|
Run |
withStatus(String status)
The run's status.
|
Run |
withStopped(Date stopped)
The run's stop time.
|
Run |
withTestSpecArn(String testSpecArn)
The ARN of the YAML-formatted test specification for the run.
|
Run |
withTotalJobs(Integer totalJobs)
The total number of jobs for the run.
|
Run |
withType(String type)
The run's type.
|
Run |
withType(TestType type)
The run's type.
|
Run |
withVpcConfig(VpcConfig vpcConfig)
The VPC security groups and subnets that are attached to a project.
|
Run |
withWebUrl(String webUrl)
The Device Farm console URL for the recording of the run.
|
public void setArn(String arn)
The run's ARN.
arn
- The run's ARN.public String getArn()
The run's ARN.
public Run withArn(String arn)
The run's ARN.
arn
- The run's ARN.public void setName(String name)
The run's name.
name
- The run's name.public String getName()
The run's name.
public Run withName(String name)
The run's name.
name
- The run's name.public void setType(String 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
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
TestType
public String getType()
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
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
TestType
public Run withType(String 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
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
TestType
public void setType(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
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
TestType
public Run withType(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
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
TestType
public void setPlatform(String platform)
The run's platform.
Allowed values include:
ANDROID
IOS
platform
- The run's platform.
Allowed values include:
ANDROID
IOS
DevicePlatform
public String getPlatform()
The run's platform.
Allowed values include:
ANDROID
IOS
Allowed values include:
ANDROID
IOS
DevicePlatform
public Run withPlatform(String platform)
The run's platform.
Allowed values include:
ANDROID
IOS
platform
- The run's platform.
Allowed values include:
ANDROID
IOS
DevicePlatform
public void setPlatform(DevicePlatform platform)
The run's platform.
Allowed values include:
ANDROID
IOS
platform
- The run's platform.
Allowed values include:
ANDROID
IOS
DevicePlatform
public Run withPlatform(DevicePlatform platform)
The run's platform.
Allowed values include:
ANDROID
IOS
platform
- The run's platform.
Allowed values include:
ANDROID
IOS
DevicePlatform
public void setCreated(Date created)
When the run was created.
created
- When the run was created.public Date getCreated()
When the run was created.
public Run withCreated(Date created)
When the run was created.
created
- When the run was created.public void setStatus(String status)
The run's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
status
- The run's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatus
public String getStatus()
The run's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatus
public Run withStatus(String status)
The run's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
status
- The run's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatus
public void setStatus(ExecutionStatus status)
The run's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
status
- The run's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatus
public Run withStatus(ExecutionStatus status)
The run's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
status
- The run's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatus
public void setResult(String result)
The run's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result
- The run's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResult
public String getResult()
The run's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResult
public Run withResult(String result)
The run's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result
- The run's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResult
public void setResult(ExecutionResult result)
The run's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result
- The run's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResult
public Run withResult(ExecutionResult result)
The run's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result
- The run's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResult
public void setStarted(Date started)
The run's start time.
started
- The run's start time.public Date getStarted()
The run's start time.
public Run withStarted(Date started)
The run's start time.
started
- The run's start time.public void setStopped(Date stopped)
The run's stop time.
stopped
- The run's stop time.public Date getStopped()
The run's stop time.
public Run withStopped(Date stopped)
The run's stop time.
stopped
- The run's stop time.public void setCounters(Counters counters)
The run's result counters.
counters
- The run's result counters.public Counters getCounters()
The run's result counters.
public Run withCounters(Counters counters)
The run's result counters.
counters
- The run's result counters.public void setMessage(String message)
A message about the run's result.
message
- A message about the run's result.public String getMessage()
A message about the run's result.
public Run withMessage(String message)
A message about the run's result.
message
- A message about the run's result.public void setTotalJobs(Integer totalJobs)
The total number of jobs for the run.
totalJobs
- The total number of jobs for the run.public Integer getTotalJobs()
The total number of jobs for the run.
public Run withTotalJobs(Integer totalJobs)
The total number of jobs for the run.
totalJobs
- The total number of jobs for the run.public void setCompletedJobs(Integer completedJobs)
The total number of completed jobs.
completedJobs
- The total number of completed jobs.public Integer getCompletedJobs()
The total number of completed jobs.
public Run withCompletedJobs(Integer completedJobs)
The total number of completed jobs.
completedJobs
- The total number of completed jobs.public void setBillingMethod(String 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.
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.
BillingMethod
public String getBillingMethod()
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.
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.
BillingMethod
public Run withBillingMethod(String 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.
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.
BillingMethod
public void setBillingMethod(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.
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.
BillingMethod
public Run withBillingMethod(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.
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.
BillingMethod
public void setDeviceMinutes(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.public DeviceMinutes getDeviceMinutes()
Represents the total (metered or unmetered) minutes used by the test run.
public Run withDeviceMinutes(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.public void setNetworkProfile(NetworkProfile networkProfile)
The network profile being used for a test run.
networkProfile
- The network profile being used for a test run.public NetworkProfile getNetworkProfile()
The network profile being used for a test run.
public Run withNetworkProfile(NetworkProfile networkProfile)
The network profile being used for a test run.
networkProfile
- The network profile being used for a test run.public void setParsingResultUrl(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.
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 String getParsingResultUrl()
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 Run withParsingResultUrl(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.
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 void setResultCode(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
public String getResultCode()
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.
result
is SKIPPED
.
PARSING_FAILED
if the result is skipped because of test package parsing failure.ExecutionResultCode
public Run withResultCode(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
public void setResultCode(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
public Run withResultCode(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
public void setSeed(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.
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 Integer getSeed()
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 Run withSeed(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.
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 void setAppUpload(String appUpload)
An app to upload or that has been uploaded.
appUpload
- An app to upload or that has been uploaded.public String getAppUpload()
An app to upload or that has been uploaded.
public Run withAppUpload(String appUpload)
An app to upload or that has been uploaded.
appUpload
- An app to upload or that has been uploaded.public void setEventCount(Integer eventCount)
For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.
eventCount
- For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.public Integer getEventCount()
For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.
public Run withEventCount(Integer eventCount)
For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.
eventCount
- For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.public void setJobTimeoutMinutes(Integer jobTimeoutMinutes)
The number of minutes the job executes before it times out.
jobTimeoutMinutes
- The number of minutes the job executes before it times out.public Integer getJobTimeoutMinutes()
The number of minutes the job executes before it times out.
public Run withJobTimeoutMinutes(Integer jobTimeoutMinutes)
The number of minutes the job executes before it times out.
jobTimeoutMinutes
- The number of minutes the job executes before it times out.public void setDevicePoolArn(String devicePoolArn)
The ARN of the device pool for the run.
devicePoolArn
- The ARN of the device pool for the run.public String getDevicePoolArn()
The ARN of the device pool for the run.
public Run withDevicePoolArn(String devicePoolArn)
The ARN of the device pool for the run.
devicePoolArn
- The ARN of the device pool for the run.public void setLocale(String locale)
Information about the locale that is used for the run.
locale
- Information about the locale that is used for the run.public String getLocale()
Information about the locale that is used for the run.
public Run withLocale(String locale)
Information about the locale that is used for the run.
locale
- Information about the locale that is used for the run.public void setRadios(Radios radios)
Information about the radio states for the run.
radios
- Information about the radio states for the run.public Radios getRadios()
Information about the radio states for the run.
public Run withRadios(Radios radios)
Information about the radio states for the run.
radios
- Information about the radio states for the run.public void setLocation(Location location)
Information about the location that is used for the run.
location
- Information about the location that is used for the run.public Location getLocation()
Information about the location that is used for the run.
public Run withLocation(Location location)
Information about the location that is used for the run.
location
- Information about the location that is used for the run.public void setCustomerArtifactPaths(CustomerArtifactPaths customerArtifactPaths)
Output CustomerArtifactPaths
object for the test run.
customerArtifactPaths
- Output CustomerArtifactPaths
object for the test run.public CustomerArtifactPaths getCustomerArtifactPaths()
Output CustomerArtifactPaths
object for the test run.
CustomerArtifactPaths
object for the test run.public Run withCustomerArtifactPaths(CustomerArtifactPaths customerArtifactPaths)
Output CustomerArtifactPaths
object for the test run.
customerArtifactPaths
- Output CustomerArtifactPaths
object for the test run.public void setWebUrl(String webUrl)
The Device Farm console URL for the recording of the run.
webUrl
- The Device Farm console URL for the recording of the run.public String getWebUrl()
The Device Farm console URL for the recording of the run.
public Run withWebUrl(String webUrl)
The Device Farm console URL for the recording of the run.
webUrl
- The Device Farm console URL for the recording of the run.public void setSkipAppResign(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.
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.
public Boolean getSkipAppResign()
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 Run withSkipAppResign(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.
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.
public Boolean isSkipAppResign()
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 void setTestSpecArn(String testSpecArn)
The ARN of the YAML-formatted test specification for the run.
testSpecArn
- The ARN of the YAML-formatted test specification for the run.public String getTestSpecArn()
The ARN of the YAML-formatted test specification for the run.
public Run withTestSpecArn(String testSpecArn)
The ARN of the YAML-formatted test specification for the run.
testSpecArn
- The ARN of the YAML-formatted test specification for the run.public void setDeviceSelectionResult(DeviceSelectionResult deviceSelectionResult)
The results of a device filter used to select the devices for a test run.
deviceSelectionResult
- The results of a device filter used to select the devices for a test run.public DeviceSelectionResult getDeviceSelectionResult()
The results of a device filter used to select the devices for a test run.
public Run withDeviceSelectionResult(DeviceSelectionResult deviceSelectionResult)
The results of a device filter used to select the devices for a test run.
deviceSelectionResult
- The results of a device filter used to select the devices for a test run.public void setVpcConfig(VpcConfig vpcConfig)
The VPC security groups and subnets that are attached to a project.
vpcConfig
- The VPC security groups and subnets that are attached to a project.public VpcConfig getVpcConfig()
The VPC security groups and subnets that are attached to a project.
public Run withVpcConfig(VpcConfig vpcConfig)
The VPC security groups and subnets that are attached to a project.
vpcConfig
- The VPC security groups and subnets that are attached to a project.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.