All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.devicefarm.model.Run Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Device Farm module holds the client classes that are used for communicating with AWS Device Farm

There is a newer version: 1.12.788
Show newest version
/*
 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
 * Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License").
 * You may not use this file except in compliance with the License.
 * A copy of the License is located at
 *
 *  http://aws.amazon.com/apache2.0
 *
 * or in the "license" file accompanying this file. This file is distributed
 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
 * express or implied. See the License for the specific language governing
 * permissions and limitations under the License.
 */

package com.amazonaws.services.devicefarm.model;

import java.io.Serializable;

/**
 * 

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

*/ public class Run implements Serializable, Cloneable { /** *

* The run's ARN. *

*/ private String arn; /** *

* The run's name. *

*/ private String name; /** *

* 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. *

    *
  • *
*/ private String type; /** *

* The run's platform. *

*

* Allowed values include: *

*
    *
  • *

    * ANDROID: The Android platform. *

    *
  • *
  • *

    * IOS: The iOS platform. *

    *
  • *
*/ private String platform; /** *

* When the run was created. *

*/ private java.util.Date created; /** *

* 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. *

    *
  • *
*/ private String status; /** *

* 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. *

    *
  • *
*/ private String result; /** *

* The run's start time. *

*/ private java.util.Date started; /** *

* The run's stop time. *

*/ private java.util.Date stopped; /** *

* The run's result counters. *

*/ private Counters counters; /** *

* A message about the run's result. *

*/ private String message; /** *

* The total number of jobs for the run. *

*/ private Integer totalJobs; /** *

* The total number of completed jobs. *

*/ private Integer completedJobs; /** *

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

*/ private String billingMethod; /** *

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

*/ private DeviceMinutes deviceMinutes; /** *

* The run's ARN. *

* * @param arn * The run's ARN. */ public void setArn(String arn) { this.arn = arn; } /** *

* The run's ARN. *

* * @return The run's ARN. */ public String getArn() { return this.arn; } /** *

* The run's ARN. *

* * @param arn * The run's ARN. * @return Returns a reference to this object so that method calls can be * chained together. */ public Run withArn(String arn) { setArn(arn); return this; } /** *

* The run's name. *

* * @param name * The run's name. */ public void setName(String name) { this.name = name; } /** *

* The run's name. *

* * @return The run's name. */ public String getName() { return this.name; } /** *

* The run's name. *

* * @param name * The run's name. * @return Returns a reference to this object so that method calls can be * chained together. */ public Run withName(String name) { setName(name); return this; } /** *

* 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. *

    *
  • *
* * @param 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 TestType */ public void setType(String type) { this.type = 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. *

      *
    • *
    * * @return 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 TestType */ public String getType() { return this.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. *

        *
      • *
      * * @param 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. *

        *
      • * @return Returns a reference to this object so that method calls can be * chained together. * @see TestType */ public Run withType(String type) { setType(type); return this; } /** *

        * 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. *

          *
        • *
        * * @param 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 TestType */ public void setType(TestType type) { this.type = type.toString(); } /** *

          * 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. *

            *
          • *
          * * @param 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. *

            *
          • * @return Returns a reference to this object so that method calls can be * chained together. * @see TestType */ public Run withType(TestType type) { setType(type); return this; } /** *

            * The run's platform. *

            *

            * Allowed values include: *

            *
              *
            • *

              * ANDROID: The Android platform. *

              *
            • *
            • *

              * IOS: The iOS platform. *

              *
            • *
            * * @param platform * The run's platform.

            *

            * Allowed values include: *

            *
              *
            • *

              * ANDROID: The Android platform. *

              *
            • *
            • *

              * IOS: The iOS platform. *

              *
            • * @see DevicePlatform */ public void setPlatform(String platform) { this.platform = platform; } /** *

              * The run's platform. *

              *

              * Allowed values include: *

              *
                *
              • *

                * ANDROID: The Android platform. *

                *
              • *
              • *

                * IOS: The iOS platform. *

                *
              • *
              * * @return The run's platform.

              *

              * Allowed values include: *

              *
                *
              • *

                * ANDROID: The Android platform. *

                *
              • *
              • *

                * IOS: The iOS platform. *

                *
              • * @see DevicePlatform */ public String getPlatform() { return this.platform; } /** *

                * The run's platform. *

                *

                * Allowed values include: *

                *
                  *
                • *

                  * ANDROID: The Android platform. *

                  *
                • *
                • *

                  * IOS: The iOS platform. *

                  *
                • *
                * * @param platform * The run's platform.

                *

                * Allowed values include: *

                *
                  *
                • *

                  * ANDROID: The Android platform. *

                  *
                • *
                • *

                  * IOS: The iOS platform. *

                  *
                • * @return Returns a reference to this object so that method calls can be * chained together. * @see DevicePlatform */ public Run withPlatform(String platform) { setPlatform(platform); return this; } /** *

                  * The run's platform. *

                  *

                  * Allowed values include: *

                  *
                    *
                  • *

                    * ANDROID: The Android platform. *

                    *
                  • *
                  • *

                    * IOS: The iOS platform. *

                    *
                  • *
                  * * @param platform * The run's platform.

                  *

                  * Allowed values include: *

                  *
                    *
                  • *

                    * ANDROID: The Android platform. *

                    *
                  • *
                  • *

                    * IOS: The iOS platform. *

                    *
                  • * @see DevicePlatform */ public void setPlatform(DevicePlatform platform) { this.platform = platform.toString(); } /** *

                    * The run's platform. *

                    *

                    * Allowed values include: *

                    *
                      *
                    • *

                      * ANDROID: The Android platform. *

                      *
                    • *
                    • *

                      * IOS: The iOS platform. *

                      *
                    • *
                    * * @param platform * The run's platform.

                    *

                    * Allowed values include: *

                    *
                      *
                    • *

                      * ANDROID: The Android platform. *

                      *
                    • *
                    • *

                      * IOS: The iOS platform. *

                      *
                    • * @return Returns a reference to this object so that method calls can be * chained together. * @see DevicePlatform */ public Run withPlatform(DevicePlatform platform) { setPlatform(platform); return this; } /** *

                      * When the run was created. *

                      * * @param created * When the run was created. */ public void setCreated(java.util.Date created) { this.created = created; } /** *

                      * When the run was created. *

                      * * @return When the run was created. */ public java.util.Date getCreated() { return this.created; } /** *

                      * When the run was created. *

                      * * @param created * When the run was created. * @return Returns a reference to this object so that method calls can be * chained together. */ public Run withCreated(java.util.Date created) { setCreated(created); return this; } /** *

                      * 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. *

                        *
                      • *
                      * * @param 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 ExecutionStatus */ public void setStatus(String status) { this.status = 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. *

                          *
                        • *
                        * * @return 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 ExecutionStatus */ public String getStatus() { return this.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. *

                            *
                          • *
                          * * @param 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. *

                            *
                          • * @return Returns a reference to this object so that method calls can be * chained together. * @see ExecutionStatus */ public Run withStatus(String status) { setStatus(status); return this; } /** *

                            * 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. *

                              *
                            • *
                            * * @param 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 ExecutionStatus */ public void setStatus(ExecutionStatus status) { this.status = status.toString(); } /** *

                              * 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. *

                                *
                              • *
                              * * @param 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. *

                                *
                              • * @return Returns a reference to this object so that method calls can be * chained together. * @see ExecutionStatus */ public Run withStatus(ExecutionStatus status) { setStatus(status); return this; } /** *

                                * 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. *

                                  *
                                • *
                                * * @param 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 ExecutionResult */ public void setResult(String result) { this.result = 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. *

                                    *
                                  • *
                                  * * @return 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 ExecutionResult */ public String getResult() { return this.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. *

                                      *
                                    • *
                                    * * @param 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. *

                                      *
                                    • * @return Returns a reference to this object so that method calls can be * chained together. * @see ExecutionResult */ public Run withResult(String result) { setResult(result); return this; } /** *

                                      * 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. *

                                        *
                                      • *
                                      * * @param 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 ExecutionResult */ public void setResult(ExecutionResult result) { this.result = result.toString(); } /** *

                                        * 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. *

                                          *
                                        • *
                                        * * @param 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. *

                                          *
                                        • * @return Returns a reference to this object so that method calls can be * chained together. * @see ExecutionResult */ public Run withResult(ExecutionResult result) { setResult(result); return this; } /** *

                                          * The run's start time. *

                                          * * @param started * The run's start time. */ public void setStarted(java.util.Date started) { this.started = started; } /** *

                                          * The run's start time. *

                                          * * @return The run's start time. */ public java.util.Date getStarted() { return this.started; } /** *

                                          * The run's start time. *

                                          * * @param started * The run's start time. * @return Returns a reference to this object so that method calls can be * chained together. */ public Run withStarted(java.util.Date started) { setStarted(started); return this; } /** *

                                          * The run's stop time. *

                                          * * @param stopped * The run's stop time. */ public void setStopped(java.util.Date stopped) { this.stopped = stopped; } /** *

                                          * The run's stop time. *

                                          * * @return The run's stop time. */ public java.util.Date getStopped() { return this.stopped; } /** *

                                          * The run's stop time. *

                                          * * @param stopped * The run's stop time. * @return Returns a reference to this object so that method calls can be * chained together. */ public Run withStopped(java.util.Date stopped) { setStopped(stopped); return this; } /** *

                                          * The run's result counters. *

                                          * * @param counters * The run's result counters. */ public void setCounters(Counters counters) { this.counters = counters; } /** *

                                          * The run's result counters. *

                                          * * @return The run's result counters. */ public Counters getCounters() { return this.counters; } /** *

                                          * The run's result counters. *

                                          * * @param counters * The run's result counters. * @return Returns a reference to this object so that method calls can be * chained together. */ public Run withCounters(Counters counters) { setCounters(counters); return this; } /** *

                                          * A message about the run's result. *

                                          * * @param message * A message about the run's result. */ public void setMessage(String message) { this.message = message; } /** *

                                          * A message about the run's result. *

                                          * * @return A message about the run's result. */ public String getMessage() { return this.message; } /** *

                                          * A message about the run's result. *

                                          * * @param message * A message about the run's result. * @return Returns a reference to this object so that method calls can be * chained together. */ public Run withMessage(String message) { setMessage(message); return this; } /** *

                                          * The total number of jobs for the run. *

                                          * * @param totalJobs * The total number of jobs for the run. */ public void setTotalJobs(Integer totalJobs) { this.totalJobs = totalJobs; } /** *

                                          * The total number of jobs for the run. *

                                          * * @return The total number of jobs for the run. */ public Integer getTotalJobs() { return this.totalJobs; } /** *

                                          * The total number of jobs for the run. *

                                          * * @param totalJobs * The total number of jobs for the run. * @return Returns a reference to this object so that method calls can be * chained together. */ public Run withTotalJobs(Integer totalJobs) { setTotalJobs(totalJobs); return this; } /** *

                                          * The total number of completed jobs. *

                                          * * @param completedJobs * The total number of completed jobs. */ public void setCompletedJobs(Integer completedJobs) { this.completedJobs = completedJobs; } /** *

                                          * The total number of completed jobs. *

                                          * * @return The total number of completed jobs. */ public Integer getCompletedJobs() { return this.completedJobs; } /** *

                                          * The total number of completed jobs. *

                                          * * @param completedJobs * The total number of completed jobs. * @return Returns a reference to this object so that method calls can be * chained together. */ public Run withCompletedJobs(Integer completedJobs) { setCompletedJobs(completedJobs); return this; } /** *

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

                                          * * @param billingMethod * Specifies the billing method for a test run: metered * or unmetered. If the parameter is not specified, the * default value is unmetered. * @see BillingMethod */ public void setBillingMethod(String billingMethod) { this.billingMethod = billingMethod; } /** *

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

                                          * * @return Specifies the billing method for a test run: metered * or unmetered. If the parameter is not specified, the * default value is unmetered. * @see BillingMethod */ public String getBillingMethod() { return this.billingMethod; } /** *

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

                                          * * @param billingMethod * Specifies the billing method for a test run: metered * or unmetered. If the parameter is not specified, the * default value is unmetered. * @return Returns a reference to this object so that method calls can be * chained together. * @see BillingMethod */ public Run withBillingMethod(String billingMethod) { setBillingMethod(billingMethod); return this; } /** *

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

                                          * * @param billingMethod * Specifies the billing method for a test run: metered * or unmetered. If the parameter is not specified, the * default value is unmetered. * @see BillingMethod */ public void setBillingMethod(BillingMethod billingMethod) { this.billingMethod = billingMethod.toString(); } /** *

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

                                          * * @param billingMethod * Specifies the billing method for a test run: metered * or unmetered. If the parameter is not specified, the * default value is unmetered. * @return Returns a reference to this object so that method calls can be * chained together. * @see BillingMethod */ public Run withBillingMethod(BillingMethod billingMethod) { setBillingMethod(billingMethod); return this; } /** *

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

                                          * * @param deviceMinutes * Represents the total (metered or unmetered) minutes used by the * test run. */ public void setDeviceMinutes(DeviceMinutes deviceMinutes) { this.deviceMinutes = deviceMinutes; } /** *

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

                                          * * @return Represents the total (metered or unmetered) minutes used by the * test run. */ public DeviceMinutes getDeviceMinutes() { return this.deviceMinutes; } /** *

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

                                          * * @param deviceMinutes * Represents the total (metered or unmetered) minutes used by the * test run. * @return Returns a reference to this object so that method calls can be * chained together. */ public Run withDeviceMinutes(DeviceMinutes deviceMinutes) { setDeviceMinutes(deviceMinutes); return this; } /** * Returns a string representation of this object; useful for testing and * debugging. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getArn() != null) sb.append("Arn: " + getArn() + ","); if (getName() != null) sb.append("Name: " + getName() + ","); if (getType() != null) sb.append("Type: " + getType() + ","); if (getPlatform() != null) sb.append("Platform: " + getPlatform() + ","); if (getCreated() != null) sb.append("Created: " + getCreated() + ","); if (getStatus() != null) sb.append("Status: " + getStatus() + ","); if (getResult() != null) sb.append("Result: " + getResult() + ","); if (getStarted() != null) sb.append("Started: " + getStarted() + ","); if (getStopped() != null) sb.append("Stopped: " + getStopped() + ","); if (getCounters() != null) sb.append("Counters: " + getCounters() + ","); if (getMessage() != null) sb.append("Message: " + getMessage() + ","); if (getTotalJobs() != null) sb.append("TotalJobs: " + getTotalJobs() + ","); if (getCompletedJobs() != null) sb.append("CompletedJobs: " + getCompletedJobs() + ","); if (getBillingMethod() != null) sb.append("BillingMethod: " + getBillingMethod() + ","); if (getDeviceMinutes() != null) sb.append("DeviceMinutes: " + getDeviceMinutes()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof Run == false) return false; Run other = (Run) obj; if (other.getArn() == null ^ this.getArn() == null) return false; if (other.getArn() != null && other.getArn().equals(this.getArn()) == false) return false; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getType() == null ^ this.getType() == null) return false; if (other.getType() != null && other.getType().equals(this.getType()) == false) return false; if (other.getPlatform() == null ^ this.getPlatform() == null) return false; if (other.getPlatform() != null && other.getPlatform().equals(this.getPlatform()) == false) return false; if (other.getCreated() == null ^ this.getCreated() == null) return false; if (other.getCreated() != null && other.getCreated().equals(this.getCreated()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getResult() == null ^ this.getResult() == null) return false; if (other.getResult() != null && other.getResult().equals(this.getResult()) == false) return false; if (other.getStarted() == null ^ this.getStarted() == null) return false; if (other.getStarted() != null && other.getStarted().equals(this.getStarted()) == false) return false; if (other.getStopped() == null ^ this.getStopped() == null) return false; if (other.getStopped() != null && other.getStopped().equals(this.getStopped()) == false) return false; if (other.getCounters() == null ^ this.getCounters() == null) return false; if (other.getCounters() != null && other.getCounters().equals(this.getCounters()) == false) return false; if (other.getMessage() == null ^ this.getMessage() == null) return false; if (other.getMessage() != null && other.getMessage().equals(this.getMessage()) == false) return false; if (other.getTotalJobs() == null ^ this.getTotalJobs() == null) return false; if (other.getTotalJobs() != null && other.getTotalJobs().equals(this.getTotalJobs()) == false) return false; if (other.getCompletedJobs() == null ^ this.getCompletedJobs() == null) return false; if (other.getCompletedJobs() != null && other.getCompletedJobs().equals(this.getCompletedJobs()) == false) return false; if (other.getBillingMethod() == null ^ this.getBillingMethod() == null) return false; if (other.getBillingMethod() != null && other.getBillingMethod().equals(this.getBillingMethod()) == false) return false; if (other.getDeviceMinutes() == null ^ this.getDeviceMinutes() == null) return false; if (other.getDeviceMinutes() != null && other.getDeviceMinutes().equals(this.getDeviceMinutes()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getType() == null) ? 0 : getType().hashCode()); hashCode = prime * hashCode + ((getPlatform() == null) ? 0 : getPlatform().hashCode()); hashCode = prime * hashCode + ((getCreated() == null) ? 0 : getCreated().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getResult() == null) ? 0 : getResult().hashCode()); hashCode = prime * hashCode + ((getStarted() == null) ? 0 : getStarted().hashCode()); hashCode = prime * hashCode + ((getStopped() == null) ? 0 : getStopped().hashCode()); hashCode = prime * hashCode + ((getCounters() == null) ? 0 : getCounters().hashCode()); hashCode = prime * hashCode + ((getMessage() == null) ? 0 : getMessage().hashCode()); hashCode = prime * hashCode + ((getTotalJobs() == null) ? 0 : getTotalJobs().hashCode()); hashCode = prime * hashCode + ((getCompletedJobs() == null) ? 0 : getCompletedJobs() .hashCode()); hashCode = prime * hashCode + ((getBillingMethod() == null) ? 0 : getBillingMethod() .hashCode()); hashCode = prime * hashCode + ((getDeviceMinutes() == null) ? 0 : getDeviceMinutes() .hashCode()); return hashCode; } @Override public Run clone() { try { return (Run) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException( "Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy