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:
  • Constructor Details

    • ScheduleRunConfiguration

      public ScheduleRunConfiguration()
  • Method Details

    • 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) or withAuxiliaryApps(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 or unmetered. If the parameter is not specified, the default value is unmetered.

      Parameters:
      billingMethod - Specifies the billing method for a test run: metered or unmetered. If the parameter is not specified, the default value is unmetered.
      See Also:
    • getBillingMethod

      public String getBillingMethod()

      Specifies the billing method for a test run: metered or unmetered. If the parameter is not specified, the default value is unmetered.

      Returns:
      Specifies the billing method for a test run: metered or unmetered. If the parameter is not specified, the default value is unmetered.
      See Also:
    • withBillingMethod

      public ScheduleRunConfiguration withBillingMethod(String billingMethod)

      Specifies the billing method for a test run: metered or unmetered. If the parameter is not specified, the default value is unmetered.

      Parameters:
      billingMethod - Specifies the billing method for a test run: metered or unmetered. If the parameter is not specified, the default value is unmetered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setBillingMethod

      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.

      Parameters:
      billingMethod - Specifies the billing method for a test run: metered or unmetered. If the parameter is not specified, the default value is unmetered.
      See Also:
    • withBillingMethod

      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.

      Parameters:
      billingMethod - Specifies the billing method for a test run: metered or unmetered. If the parameter is not specified, the default value is unmetered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ScheduleRunConfiguration clone()
      Overrides:
      clone in class Object