java.lang.Object
com.amazonaws.services.devicefarm.model.Run
All Implemented Interfaces:
Serializable, Cloneable

public class Run extends Object implements Serializable, Cloneable

Represents an app on a set of devices with a specific test and configuration.

See Also:
  • Constructor Details

    • Run

      public Run()
  • Method Details

    • setArn

      public void setArn(String arn)

      The run's ARN.

      Parameters:
      arn - The run's ARN.
    • getArn

      public String getArn()

      The run's ARN.

      Returns:
      The run's ARN.
    • withArn

      public Run withArn(String arn)

      The run's ARN.

      Parameters:
      arn - The run's ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setName

      public void setName(String name)

      The run's name.

      Parameters:
      name - The run's name.
    • getName

      public String getName()

      The run's name.

      Returns:
      The run's name.
    • withName

      public Run withName(String name)

      The run's name.

      Parameters:
      name - The run's name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setType

      public void setType(String type)

      The run's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      Parameters:
      type - The run's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      See Also:
    • getType

      public String getType()

      The run's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      Returns:
      The run's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      See Also:
    • withType

      public Run withType(String type)

      The run's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      Parameters:
      type - The run's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setType

      public void setType(TestType type)

      The run's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      Parameters:
      type - The run's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      See Also:
    • withType

      public Run withType(TestType type)

      The run's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      Parameters:
      type - The run's type.

      Must be one of the following values:

      • BUILTIN_FUZZ: The built-in fuzz type.

      • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

      • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

      • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

      • APPIUM_PYTHON: The Appium Python type.

      • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.

      • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.

      • APPIUM_WEB_PYTHON: The Appium Python type for Web apps.

      • CALABASH: The Calabash type.

      • INSTRUMENTATION: The Instrumentation type.

      • UIAUTOMATION: The uiautomation type.

      • UIAUTOMATOR: The uiautomator type.

      • XCTEST: The XCode test type.

      • XCTEST_UI: The XCode UI test type.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setPlatform

      public void setPlatform(String platform)

      The run's platform.

      Allowed values include:

      • ANDROID: The Android platform.

      • IOS: The iOS platform.

      Parameters:
      platform - The run's platform.

      Allowed values include:

      • ANDROID: The Android platform.

      • IOS: The iOS platform.

      See Also:
    • getPlatform

      public String getPlatform()

      The run's platform.

      Allowed values include:

      • ANDROID: The Android platform.

      • IOS: The iOS platform.

      Returns:
      The run's platform.

      Allowed values include:

      • ANDROID: The Android platform.

      • IOS: The iOS platform.

      See Also:
    • withPlatform

      public Run withPlatform(String platform)

      The run's platform.

      Allowed values include:

      • ANDROID: The Android platform.

      • IOS: The iOS platform.

      Parameters:
      platform - The run's platform.

      Allowed values include:

      • ANDROID: The Android platform.

      • IOS: The iOS platform.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setPlatform

      public void setPlatform(DevicePlatform platform)

      The run's platform.

      Allowed values include:

      • ANDROID: The Android platform.

      • IOS: The iOS platform.

      Parameters:
      platform - The run's platform.

      Allowed values include:

      • ANDROID: The Android platform.

      • IOS: The iOS platform.

      See Also:
    • withPlatform

      public Run withPlatform(DevicePlatform platform)

      The run's platform.

      Allowed values include:

      • ANDROID: The Android platform.

      • IOS: The iOS platform.

      Parameters:
      platform - The run's platform.

      Allowed values include:

      • ANDROID: The Android platform.

      • IOS: The iOS platform.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setCreated

      public void setCreated(Date created)

      When the run was created.

      Parameters:
      created - When the run was created.
    • getCreated

      public Date getCreated()

      When the run was created.

      Returns:
      When the run was created.
    • withCreated

      public Run withCreated(Date created)

      When the run was created.

      Parameters:
      created - When the run was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStatus

      public void setStatus(String status)

      The run's status.

      Allowed values include:

      • PENDING: A pending status.

      • PENDING_CONCURRENCY: A pending concurrency status.

      • PENDING_DEVICE: A pending device status.

      • PROCESSING: A processing status.

      • SCHEDULING: A scheduling status.

      • PREPARING: A preparing status.

      • RUNNING: A running status.

      • COMPLETED: A completed status.

      • STOPPING: A stopping status.

      Parameters:
      status - The run's status.

      Allowed values include:

      • PENDING: A pending status.

      • PENDING_CONCURRENCY: A pending concurrency status.

      • PENDING_DEVICE: A pending device status.

      • PROCESSING: A processing status.

      • SCHEDULING: A scheduling status.

      • PREPARING: A preparing status.

      • RUNNING: A running status.

      • COMPLETED: A completed status.

      • STOPPING: A stopping status.

      See Also:
    • getStatus

      public String getStatus()

      The run's status.

      Allowed values include:

      • PENDING: A pending status.

      • PENDING_CONCURRENCY: A pending concurrency status.

      • PENDING_DEVICE: A pending device status.

      • PROCESSING: A processing status.

      • SCHEDULING: A scheduling status.

      • PREPARING: A preparing status.

      • RUNNING: A running status.

      • COMPLETED: A completed status.

      • STOPPING: A stopping status.

      Returns:
      The run's status.

      Allowed values include:

      • PENDING: A pending status.

      • PENDING_CONCURRENCY: A pending concurrency status.

      • PENDING_DEVICE: A pending device status.

      • PROCESSING: A processing status.

      • SCHEDULING: A scheduling status.

      • PREPARING: A preparing status.

      • RUNNING: A running status.

      • COMPLETED: A completed status.

      • STOPPING: A stopping status.

      See Also:
    • withStatus

      public Run withStatus(String status)

      The run's status.

      Allowed values include:

      • PENDING: A pending status.

      • PENDING_CONCURRENCY: A pending concurrency status.

      • PENDING_DEVICE: A pending device status.

      • PROCESSING: A processing status.

      • SCHEDULING: A scheduling status.

      • PREPARING: A preparing status.

      • RUNNING: A running status.

      • COMPLETED: A completed status.

      • STOPPING: A stopping status.

      Parameters:
      status - The run's status.

      Allowed values include:

      • PENDING: A pending status.

      • PENDING_CONCURRENCY: A pending concurrency status.

      • PENDING_DEVICE: A pending device status.

      • PROCESSING: A processing status.

      • SCHEDULING: A scheduling status.

      • PREPARING: A preparing status.

      • RUNNING: A running status.

      • COMPLETED: A completed status.

      • STOPPING: A stopping status.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setStatus

      public void setStatus(ExecutionStatus status)

      The run's status.

      Allowed values include:

      • PENDING: A pending status.

      • PENDING_CONCURRENCY: A pending concurrency status.

      • PENDING_DEVICE: A pending device status.

      • PROCESSING: A processing status.

      • SCHEDULING: A scheduling status.

      • PREPARING: A preparing status.

      • RUNNING: A running status.

      • COMPLETED: A completed status.

      • STOPPING: A stopping status.

      Parameters:
      status - The run's status.

      Allowed values include:

      • PENDING: A pending status.

      • PENDING_CONCURRENCY: A pending concurrency status.

      • PENDING_DEVICE: A pending device status.

      • PROCESSING: A processing status.

      • SCHEDULING: A scheduling status.

      • PREPARING: A preparing status.

      • RUNNING: A running status.

      • COMPLETED: A completed status.

      • STOPPING: A stopping status.

      See Also:
    • withStatus

      public Run withStatus(ExecutionStatus status)

      The run's status.

      Allowed values include:

      • PENDING: A pending status.

      • PENDING_CONCURRENCY: A pending concurrency status.

      • PENDING_DEVICE: A pending device status.

      • PROCESSING: A processing status.

      • SCHEDULING: A scheduling status.

      • PREPARING: A preparing status.

      • RUNNING: A running status.

      • COMPLETED: A completed status.

      • STOPPING: A stopping status.

      Parameters:
      status - The run's status.

      Allowed values include:

      • PENDING: A pending status.

      • PENDING_CONCURRENCY: A pending concurrency status.

      • PENDING_DEVICE: A pending device status.

      • PROCESSING: A processing status.

      • SCHEDULING: A scheduling status.

      • PREPARING: A preparing status.

      • RUNNING: A running status.

      • COMPLETED: A completed status.

      • STOPPING: A stopping status.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setResult

      public void setResult(String result)

      The run's result.

      Allowed values include:

      • PENDING: A pending condition.

      • PASSED: A passing condition.

      • WARNED: A warning condition.

      • FAILED: A failed condition.

      • SKIPPED: A skipped condition.

      • ERRORED: An error condition.

      • STOPPED: A stopped condition.

      Parameters:
      result - The run's result.

      Allowed values include:

      • PENDING: A pending condition.

      • PASSED: A passing condition.

      • WARNED: A warning condition.

      • FAILED: A failed condition.

      • SKIPPED: A skipped condition.

      • ERRORED: An error condition.

      • STOPPED: A stopped condition.

      See Also:
    • getResult

      public String getResult()

      The run's result.

      Allowed values include:

      • PENDING: A pending condition.

      • PASSED: A passing condition.

      • WARNED: A warning condition.

      • FAILED: A failed condition.

      • SKIPPED: A skipped condition.

      • ERRORED: An error condition.

      • STOPPED: A stopped condition.

      Returns:
      The run's result.

      Allowed values include:

      • PENDING: A pending condition.

      • PASSED: A passing condition.

      • WARNED: A warning condition.

      • FAILED: A failed condition.

      • SKIPPED: A skipped condition.

      • ERRORED: An error condition.

      • STOPPED: A stopped condition.

      See Also:
    • withResult

      public Run withResult(String result)

      The run's result.

      Allowed values include:

      • PENDING: A pending condition.

      • PASSED: A passing condition.

      • WARNED: A warning condition.

      • FAILED: A failed condition.

      • SKIPPED: A skipped condition.

      • ERRORED: An error condition.

      • STOPPED: A stopped condition.

      Parameters:
      result - The run's result.

      Allowed values include:

      • PENDING: A pending condition.

      • PASSED: A passing condition.

      • WARNED: A warning condition.

      • FAILED: A failed condition.

      • SKIPPED: A skipped condition.

      • ERRORED: An error condition.

      • STOPPED: A stopped condition.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setResult

      public void setResult(ExecutionResult result)

      The run's result.

      Allowed values include:

      • PENDING: A pending condition.

      • PASSED: A passing condition.

      • WARNED: A warning condition.

      • FAILED: A failed condition.

      • SKIPPED: A skipped condition.

      • ERRORED: An error condition.

      • STOPPED: A stopped condition.

      Parameters:
      result - The run's result.

      Allowed values include:

      • PENDING: A pending condition.

      • PASSED: A passing condition.

      • WARNED: A warning condition.

      • FAILED: A failed condition.

      • SKIPPED: A skipped condition.

      • ERRORED: An error condition.

      • STOPPED: A stopped condition.

      See Also:
    • withResult

      public Run withResult(ExecutionResult result)

      The run's result.

      Allowed values include:

      • PENDING: A pending condition.

      • PASSED: A passing condition.

      • WARNED: A warning condition.

      • FAILED: A failed condition.

      • SKIPPED: A skipped condition.

      • ERRORED: An error condition.

      • STOPPED: A stopped condition.

      Parameters:
      result - The run's result.

      Allowed values include:

      • PENDING: A pending condition.

      • PASSED: A passing condition.

      • WARNED: A warning condition.

      • FAILED: A failed condition.

      • SKIPPED: A skipped condition.

      • ERRORED: An error condition.

      • STOPPED: A stopped condition.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setStarted

      public void setStarted(Date started)

      The run's start time.

      Parameters:
      started - The run's start time.
    • getStarted

      public Date getStarted()

      The run's start time.

      Returns:
      The run's start time.
    • withStarted

      public Run withStarted(Date started)

      The run's start time.

      Parameters:
      started - The run's start time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStopped

      public void setStopped(Date stopped)

      The run's stop time.

      Parameters:
      stopped - The run's stop time.
    • getStopped

      public Date getStopped()

      The run's stop time.

      Returns:
      The run's stop time.
    • withStopped

      public Run withStopped(Date stopped)

      The run's stop time.

      Parameters:
      stopped - The run's stop time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCounters

      public void setCounters(Counters counters)

      The run's result counters.

      Parameters:
      counters - The run's result counters.
    • getCounters

      public Counters getCounters()

      The run's result counters.

      Returns:
      The run's result counters.
    • withCounters

      public Run withCounters(Counters counters)

      The run's result counters.

      Parameters:
      counters - The run's result counters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMessage

      public void setMessage(String message)

      A message about the run's result.

      Parameters:
      message - A message about the run's result.
    • getMessage

      public String getMessage()

      A message about the run's result.

      Returns:
      A message about the run's result.
    • withMessage

      public Run withMessage(String message)

      A message about the run's result.

      Parameters:
      message - A message about the run's result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTotalJobs

      public void setTotalJobs(Integer totalJobs)

      The total number of jobs for the run.

      Parameters:
      totalJobs - The total number of jobs for the run.
    • getTotalJobs

      public Integer getTotalJobs()

      The total number of jobs for the run.

      Returns:
      The total number of jobs for the run.
    • withTotalJobs

      public Run withTotalJobs(Integer totalJobs)

      The total number of jobs for the run.

      Parameters:
      totalJobs - The total number of jobs for the run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCompletedJobs

      public void setCompletedJobs(Integer completedJobs)

      The total number of completed jobs.

      Parameters:
      completedJobs - The total number of completed jobs.
    • getCompletedJobs

      public Integer getCompletedJobs()

      The total number of completed jobs.

      Returns:
      The total number of completed jobs.
    • withCompletedJobs

      public Run withCompletedJobs(Integer completedJobs)

      The total number of completed jobs.

      Parameters:
      completedJobs - The total number of completed jobs.
      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 Run 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 Run 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:
    • setDeviceMinutes

      public void setDeviceMinutes(DeviceMinutes deviceMinutes)

      Represents the total (metered or unmetered) minutes used by the test run.

      Parameters:
      deviceMinutes - Represents the total (metered or unmetered) minutes used by the test run.
    • getDeviceMinutes

      public DeviceMinutes getDeviceMinutes()

      Represents the total (metered or unmetered) minutes used by the test run.

      Returns:
      Represents the total (metered or unmetered) minutes used by the test run.
    • withDeviceMinutes

      public Run withDeviceMinutes(DeviceMinutes deviceMinutes)

      Represents the total (metered or unmetered) minutes used by the test run.

      Parameters:
      deviceMinutes - Represents the total (metered or unmetered) minutes used by the test run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 Run clone()
      Overrides:
      clone in class Object