Class ScheduleRunConfiguration
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the settings for a run. Includes things like location, radio states, auxiliary apps, and network profiles.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of auxiliary apps for the run.Specifies the billing method for a test run:metered
orunmetered
.The ARN of the extra data for the run.Information about the locale that is used for the run.Information about the location that is used for the run.Reserved for internal use.Information about the radio states for the run.int
hashCode()
void
setAuxiliaryApps
(Collection<String> auxiliaryApps) A list of auxiliary apps for the run.void
setBillingMethod
(BillingMethod billingMethod) Specifies the billing method for a test run:metered
orunmetered
.void
setBillingMethod
(String billingMethod) Specifies the billing method for a test run:metered
orunmetered
.void
setExtraDataPackageArn
(String extraDataPackageArn) The ARN of the extra data for the run.void
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
setNetworkProfileArn
(String networkProfileArn) Reserved for internal use.void
Information about the radio states for the run.toString()
Returns a string representation of this object; useful for testing and debugging.withAuxiliaryApps
(String... auxiliaryApps) A list of auxiliary apps for the run.withAuxiliaryApps
(Collection<String> auxiliaryApps) A list of auxiliary apps for the run.withBillingMethod
(BillingMethod billingMethod) Specifies the billing method for a test run:metered
orunmetered
.withBillingMethod
(String billingMethod) Specifies the billing method for a test run:metered
orunmetered
.withExtraDataPackageArn
(String extraDataPackageArn) The ARN of the extra data for the run.withLocale
(String locale) Information about the locale that is used for the run.withLocation
(Location location) Information about the location that is used for the run.withNetworkProfileArn
(String networkProfileArn) Reserved for internal use.withRadios
(Radios radios) Information about the radio states for the run.
-
Constructor Details
-
ScheduleRunConfiguration
public ScheduleRunConfiguration()
-
-
Method Details
-
setExtraDataPackageArn
The ARN of the extra data for the run. The extra data is a .zip file that AWS Device Farm will extract to external data for Android or the app's sandbox for iOS.
- Parameters:
extraDataPackageArn
- The ARN of the extra data for the run. The extra data is a .zip file that AWS Device Farm will extract to external data for Android or the app's sandbox for iOS.
-
getExtraDataPackageArn
The ARN of the extra data for the run. The extra data is a .zip file that AWS Device Farm will extract to external data for Android or the app's sandbox for iOS.
- Returns:
- The ARN of the extra data for the run. The extra data is a .zip file that AWS Device Farm will extract to external data for Android or the app's sandbox for iOS.
-
withExtraDataPackageArn
The ARN of the extra data for the run. The extra data is a .zip file that AWS Device Farm will extract to external data for Android or the app's sandbox for iOS.
- Parameters:
extraDataPackageArn
- The ARN of the extra data for the run. The extra data is a .zip file that AWS Device Farm will extract to external data for Android or the app's sandbox for iOS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNetworkProfileArn
Reserved for internal use.
- Parameters:
networkProfileArn
- Reserved for internal use.
-
getNetworkProfileArn
Reserved for internal use.
- Returns:
- Reserved for internal use.
-
withNetworkProfileArn
Reserved for internal use.
- Parameters:
networkProfileArn
- Reserved for internal use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLocale
Information about the locale that is used for the run.
- Parameters:
locale
- Information about the locale that is used for the run.
-
getLocale
Information about the locale that is used for the run.
- Returns:
- Information about the locale that is used for the run.
-
withLocale
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.
-
setLocation
Information about the location that is used for the run.
- Parameters:
location
- Information about the location that is used for the run.
-
getLocation
Information about the location that is used for the run.
- Returns:
- Information about the location that is used for the run.
-
withLocation
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.
-
setRadios
Information about the radio states for the run.
- Parameters:
radios
- Information about the radio states for the run.
-
getRadios
Information about the radio states for the run.
- Returns:
- Information about the radio states for the run.
-
withRadios
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.
-
getAuxiliaryApps
A list of auxiliary apps for the run.
- Returns:
- A list of auxiliary apps for the run.
-
setAuxiliaryApps
A list of auxiliary apps for the run.
- Parameters:
auxiliaryApps
- A list of auxiliary apps for the run.
-
withAuxiliaryApps
A list of auxiliary apps for the run.
NOTE: This method appends the values to the existing list (if any). Use
setAuxiliaryApps(java.util.Collection)
orwithAuxiliaryApps(java.util.Collection)
if you want to override the existing values.- Parameters:
auxiliaryApps
- A list of auxiliary apps for the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAuxiliaryApps
A list of auxiliary apps for the run.
- Parameters:
auxiliaryApps
- A list of auxiliary apps for the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setBillingMethod
Specifies the billing method for a test run:
metered
orunmetered
. If the parameter is not specified, the default value isunmetered
.- Parameters:
billingMethod
- Specifies the billing method for a test run:metered
orunmetered
. If the parameter is not specified, the default value isunmetered
.- See Also:
-
getBillingMethod
Specifies the billing method for a test run:
metered
orunmetered
. If the parameter is not specified, the default value isunmetered
.- Returns:
- Specifies the billing method for a test run:
metered
orunmetered
. If the parameter is not specified, the default value isunmetered
. - See Also:
-
withBillingMethod
Specifies the billing method for a test run:
metered
orunmetered
. If the parameter is not specified, the default value isunmetered
.- Parameters:
billingMethod
- Specifies the billing method for a test run:metered
orunmetered
. If the parameter is not specified, the default value isunmetered
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setBillingMethod
Specifies the billing method for a test run:
metered
orunmetered
. If the parameter is not specified, the default value isunmetered
.- Parameters:
billingMethod
- Specifies the billing method for a test run:metered
orunmetered
. If the parameter is not specified, the default value isunmetered
.- See Also:
-
withBillingMethod
Specifies the billing method for a test run:
metered
orunmetered
. If the parameter is not specified, the default value isunmetered
.- Parameters:
billingMethod
- Specifies the billing method for a test run:metered
orunmetered
. If the parameter is not specified, the default value isunmetered
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-