Class ScheduleRunConfiguration
- java.lang.Object
-
- com.amazonaws.services.devicefarm.model.ScheduleRunConfiguration
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ScheduleRunConfiguration extends Object implements Serializable, Cloneable
Represents the settings for a run. Includes things like location, radio states, auxiliary apps, and network profiles.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScheduleRunConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleRunConfiguration
clone()
boolean
equals(Object obj)
List<String>
getAuxiliaryApps()
A list of auxiliary apps for the run.String
getBillingMethod()
Specifies the billing method for a test run:metered
orunmetered
.String
getExtraDataPackageArn()
The ARN of the extra data for the run.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
getNetworkProfileArn()
Reserved for internal use.Radios
getRadios()
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
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
setNetworkProfileArn(String networkProfileArn)
Reserved for internal use.void
setRadios(Radios radios)
Information about the radio states for the run.String
toString()
Returns a string representation of this object; useful for testing and debugging.ScheduleRunConfiguration
withAuxiliaryApps(String... auxiliaryApps)
A list of auxiliary apps for the run.ScheduleRunConfiguration
withAuxiliaryApps(Collection<String> auxiliaryApps)
A list of auxiliary apps for the run.ScheduleRunConfiguration
withBillingMethod(BillingMethod billingMethod)
Specifies the billing method for a test run:metered
orunmetered
.ScheduleRunConfiguration
withBillingMethod(String billingMethod)
Specifies the billing method for a test run:metered
orunmetered
.ScheduleRunConfiguration
withExtraDataPackageArn(String extraDataPackageArn)
The ARN of the extra data for the run.ScheduleRunConfiguration
withLocale(String locale)
Information about the locale that is used for the run.ScheduleRunConfiguration
withLocation(Location location)
Information about the location that is used for the run.ScheduleRunConfiguration
withNetworkProfileArn(String networkProfileArn)
Reserved for internal use.ScheduleRunConfiguration
withRadios(Radios radios)
Information about the radio states for the run.
-
-
-
Method Detail
-
setExtraDataPackageArn
public void setExtraDataPackageArn(String 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.
- 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
public String 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
public ScheduleRunConfiguration withExtraDataPackageArn(String 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.
- 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
public void setNetworkProfileArn(String networkProfileArn)
Reserved for internal use.
- Parameters:
networkProfileArn
- Reserved for internal use.
-
getNetworkProfileArn
public String getNetworkProfileArn()
Reserved for internal use.
- Returns:
- Reserved for internal use.
-
withNetworkProfileArn
public ScheduleRunConfiguration withNetworkProfileArn(String networkProfileArn)
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
public void setLocale(String locale)
Information about the locale that is used for the run.
- Parameters:
locale
- Information about the locale that is used for the run.
-
getLocale
public String getLocale()
Information about the locale that is used for the run.
- Returns:
- Information about the locale that is used for the run.
-
withLocale
public ScheduleRunConfiguration withLocale(String 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.
-
setLocation
public void setLocation(Location location)
Information about the location that is used for the run.
- Parameters:
location
- Information about the location that is used for the run.
-
getLocation
public Location getLocation()
Information about the location that is used for the run.
- Returns:
- Information about the location that is used for the run.
-
withLocation
public ScheduleRunConfiguration withLocation(Location 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.
-
setRadios
public void setRadios(Radios radios)
Information about the radio states for the run.
- Parameters:
radios
- Information about the radio states for the run.
-
getRadios
public Radios getRadios()
Information about the radio states for the run.
- Returns:
- Information about the radio states for the run.
-
withRadios
public ScheduleRunConfiguration withRadios(Radios 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.
-
getAuxiliaryApps
public List<String> getAuxiliaryApps()
A list of auxiliary apps for the run.
- Returns:
- A list of auxiliary apps for the run.
-
setAuxiliaryApps
public void setAuxiliaryApps(Collection<String> auxiliaryApps)
A list of auxiliary apps for the run.
- Parameters:
auxiliaryApps
- A list of auxiliary apps for the run.
-
withAuxiliaryApps
public ScheduleRunConfiguration withAuxiliaryApps(String... auxiliaryApps)
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
public ScheduleRunConfiguration withAuxiliaryApps(Collection<String> auxiliaryApps)
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
public void setBillingMethod(String billingMethod)
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:
BillingMethod
-
getBillingMethod
public String 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:
BillingMethod
-
withBillingMethod
public ScheduleRunConfiguration withBillingMethod(String billingMethod)
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:
BillingMethod
-
setBillingMethod
public void setBillingMethod(BillingMethod billingMethod)
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:
BillingMethod
-
withBillingMethod
public ScheduleRunConfiguration withBillingMethod(BillingMethod billingMethod)
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:
BillingMethod
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ScheduleRunConfiguration clone()
-
-