public class ScheduleRunConfiguration
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the settings for a run. Includes things like location, radio states, auxiliary apps, and network profiles.
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.String> |
auxiliaryApps
A list of auxiliary apps for the run.
|
private java.lang.String |
billingMethod
Specifies the billing method for a test run:
metered or
unmetered . |
private java.lang.String |
extraDataPackageArn
The ARN of the extra data for the run.
|
private java.lang.String |
locale
Information about the locale that is used for the run.
|
private Location |
location
Information about the location that is used for the run.
|
private java.lang.String |
networkProfileArn
Reserved for internal use.
|
private Radios |
radios
Information about the radio states for the run.
|
Constructor and Description |
---|
ScheduleRunConfiguration() |
Modifier and Type | Method and Description |
---|---|
ScheduleRunConfiguration |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAuxiliaryApps()
A list of auxiliary apps for the run.
|
java.lang.String |
getBillingMethod()
Specifies the billing method for a test run:
metered or
unmetered . |
java.lang.String |
getExtraDataPackageArn()
The ARN of the extra data for the run.
|
java.lang.String |
getLocale()
Information about the locale that is used for the run.
|
Location |
getLocation()
Information about the location that is used for the run.
|
java.lang.String |
getNetworkProfileArn()
Reserved for internal use.
|
Radios |
getRadios()
Information about the radio states for the run.
|
int |
hashCode() |
void |
setAuxiliaryApps(java.util.Collection<java.lang.String> auxiliaryApps)
A list of auxiliary apps for the run.
|
void |
setBillingMethod(BillingMethod billingMethod)
Specifies the billing method for a test run:
metered or
unmetered . |
void |
setBillingMethod(java.lang.String billingMethod)
Specifies the billing method for a test run:
metered or
unmetered . |
void |
setExtraDataPackageArn(java.lang.String extraDataPackageArn)
The ARN of the extra data for the run.
|
void |
setLocale(java.lang.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(java.lang.String networkProfileArn)
Reserved for internal use.
|
void |
setRadios(Radios radios)
Information about the radio states for the run.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ScheduleRunConfiguration |
withAuxiliaryApps(java.util.Collection<java.lang.String> auxiliaryApps)
A list of auxiliary apps for the run.
|
ScheduleRunConfiguration |
withAuxiliaryApps(java.lang.String... auxiliaryApps)
A list of auxiliary apps for the run.
|
ScheduleRunConfiguration |
withBillingMethod(BillingMethod billingMethod)
Specifies the billing method for a test run:
metered or
unmetered . |
ScheduleRunConfiguration |
withBillingMethod(java.lang.String billingMethod)
Specifies the billing method for a test run:
metered or
unmetered . |
ScheduleRunConfiguration |
withExtraDataPackageArn(java.lang.String extraDataPackageArn)
The ARN of the extra data for the run.
|
ScheduleRunConfiguration |
withLocale(java.lang.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(java.lang.String networkProfileArn)
Reserved for internal use.
|
ScheduleRunConfiguration |
withRadios(Radios radios)
Information about the radio states for the run.
|
private java.lang.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.
private java.lang.String networkProfileArn
Reserved for internal use.
private java.lang.String locale
Information about the locale that is used for the run.
private Location location
Information about the location that is used for the run.
private Radios radios
Information about the radio states for the run.
private java.util.List<java.lang.String> auxiliaryApps
A list of auxiliary apps for the run.
private java.lang.String billingMethod
Specifies the billing method for a test run: metered
or
unmetered
. If the parameter is not specified, the default
value is unmetered
.
public void setExtraDataPackageArn(java.lang.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.
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.public java.lang.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.
public ScheduleRunConfiguration withExtraDataPackageArn(java.lang.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.
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.public void setNetworkProfileArn(java.lang.String networkProfileArn)
Reserved for internal use.
networkProfileArn
- Reserved for internal use.public java.lang.String getNetworkProfileArn()
Reserved for internal use.
public ScheduleRunConfiguration withNetworkProfileArn(java.lang.String networkProfileArn)
Reserved for internal use.
networkProfileArn
- Reserved for internal use.public void setLocale(java.lang.String locale)
Information about the locale that is used for the run.
locale
- Information about the locale that is used for the run.public java.lang.String getLocale()
Information about the locale that is used for the run.
public ScheduleRunConfiguration withLocale(java.lang.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 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 ScheduleRunConfiguration 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 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 ScheduleRunConfiguration withRadios(Radios radios)
Information about the radio states for the run.
radios
- Information about the radio states for the run.public java.util.List<java.lang.String> getAuxiliaryApps()
A list of auxiliary apps for the run.
public void setAuxiliaryApps(java.util.Collection<java.lang.String> auxiliaryApps)
A list of auxiliary apps for the run.
auxiliaryApps
- A list of auxiliary apps for the run.public ScheduleRunConfiguration withAuxiliaryApps(java.lang.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)
or
withAuxiliaryApps(java.util.Collection)
if you want to override
the existing values.
auxiliaryApps
- A list of auxiliary apps for the run.public ScheduleRunConfiguration withAuxiliaryApps(java.util.Collection<java.lang.String> auxiliaryApps)
A list of auxiliary apps for the run.
auxiliaryApps
- A list of auxiliary apps for the run.public void setBillingMethod(java.lang.String billingMethod)
Specifies the billing method for a test run: metered
or
unmetered
. If the parameter is not specified, the default
value is unmetered
.
billingMethod
- Specifies the billing method for a test run: metered
or unmetered
. If the parameter is not specified, the
default value is unmetered
.BillingMethod
public java.lang.String getBillingMethod()
Specifies the billing method for a test run: metered
or
unmetered
. If the parameter is not specified, the default
value is unmetered
.
metered
or unmetered
. If the parameter is not specified, the
default value is unmetered
.BillingMethod
public ScheduleRunConfiguration withBillingMethod(java.lang.String billingMethod)
Specifies the billing method for a test run: metered
or
unmetered
. If the parameter is not specified, the default
value is unmetered
.
billingMethod
- Specifies the billing method for a test run: metered
or unmetered
. If the parameter is not specified, the
default value is unmetered
.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 unmetered
.
billingMethod
- Specifies the billing method for a test run: metered
or unmetered
. If the parameter is not specified, the
default value is unmetered
.BillingMethod
public ScheduleRunConfiguration withBillingMethod(BillingMethod billingMethod)
Specifies the billing method for a test run: metered
or
unmetered
. If the parameter is not specified, the default
value is unmetered
.
billingMethod
- Specifies the billing method for a test run: metered
or unmetered
. If the parameter is not specified, the
default value is unmetered
.BillingMethod
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ScheduleRunConfiguration clone()
clone
in class java.lang.Object