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.
Constructor and Description |
---|
ScheduleRunConfiguration() |
Modifier and Type | Method and Description |
---|---|
ScheduleRunConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAuxiliaryApps()
A list of auxiliary apps for the run.
|
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 |
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(Collection<String> auxiliaryApps)
A list of auxiliary apps for the run.
|
ScheduleRunConfiguration |
withAuxiliaryApps(String... auxiliaryApps)
A list of auxiliary apps for the run.
|
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.
|
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.
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.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.
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.
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.public void setNetworkProfileArn(String networkProfileArn)
Reserved for internal use.
networkProfileArn
- Reserved for internal use.public String getNetworkProfileArn()
Reserved for internal use.
public ScheduleRunConfiguration withNetworkProfileArn(String networkProfileArn)
Reserved for internal use.
networkProfileArn
- Reserved for internal use.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 ScheduleRunConfiguration 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 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 List<String> getAuxiliaryApps()
A list of auxiliary apps for the run.
public void setAuxiliaryApps(Collection<String> auxiliaryApps)
A list of auxiliary apps for the run.
auxiliaryApps
- A list of auxiliary apps for the run.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)
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(Collection<String> auxiliaryApps)
A list of auxiliary apps for the run.
auxiliaryApps
- A list of auxiliary apps for the run.public String toString()
toString
in class Object
Object.toString()
public ScheduleRunConfiguration clone()
Copyright © 2015. All rights reserved.