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

com.amazonaws.services.devicefarm.model.GetDevicePoolCompatibilityRequest 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;
import com.amazonaws.AmazonWebServiceRequest;

/**
 * 

* Represents a request to the get device pool compatibility operation. *

*/ public class GetDevicePoolCompatibilityRequest extends AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The device pool's ARN. *

*/ private String devicePoolArn; /** *

* The ARN of the app that is associated with the specified device pool. *

*/ private String appArn; /** *

* The test type for the specified device pool. *

*

* Allowed values include the following: *

*
    *
  • *

    * 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 testType; /** *

* The device pool's ARN. *

* * @param devicePoolArn * The device pool's ARN. */ public void setDevicePoolArn(String devicePoolArn) { this.devicePoolArn = devicePoolArn; } /** *

* The device pool's ARN. *

* * @return The device pool's ARN. */ public String getDevicePoolArn() { return this.devicePoolArn; } /** *

* The device pool's ARN. *

* * @param devicePoolArn * The device pool's ARN. * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDevicePoolCompatibilityRequest withDevicePoolArn( String devicePoolArn) { setDevicePoolArn(devicePoolArn); return this; } /** *

* The ARN of the app that is associated with the specified device pool. *

* * @param appArn * The ARN of the app that is associated with the specified device * pool. */ public void setAppArn(String appArn) { this.appArn = appArn; } /** *

* The ARN of the app that is associated with the specified device pool. *

* * @return The ARN of the app that is associated with the specified device * pool. */ public String getAppArn() { return this.appArn; } /** *

* The ARN of the app that is associated with the specified device pool. *

* * @param appArn * The ARN of the app that is associated with the specified device * pool. * @return Returns a reference to this object so that method calls can be * chained together. */ public GetDevicePoolCompatibilityRequest withAppArn(String appArn) { setAppArn(appArn); return this; } /** *

* The test type for the specified device pool. *

*

* Allowed values include the following: *

*
    *
  • *

    * 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 testType * The test type for the specified device pool.

*

* Allowed values include the following: *

*
    *
  • *

    * 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 setTestType(String testType) { this.testType = testType; } /** *

    * The test type for the specified device pool. *

    *

    * Allowed values include the following: *

    *
      *
    • *

      * 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 test type for the specified device pool.

    *

    * Allowed values include the following: *

    *
      *
    • *

      * 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 getTestType() { return this.testType; } /** *

      * The test type for the specified device pool. *

      *

      * Allowed values include the following: *

      *
        *
      • *

        * 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 testType * The test type for the specified device pool.

      *

      * Allowed values include the following: *

      *
        *
      • *

        * 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 GetDevicePoolCompatibilityRequest withTestType(String testType) { setTestType(testType); return this; } /** *

        * The test type for the specified device pool. *

        *

        * Allowed values include the following: *

        *
          *
        • *

          * 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 testType * The test type for the specified device pool.

        *

        * Allowed values include the following: *

        *
          *
        • *

          * 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 setTestType(TestType testType) { this.testType = testType.toString(); } /** *

          * The test type for the specified device pool. *

          *

          * Allowed values include the following: *

          *
            *
          • *

            * 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 testType * The test type for the specified device pool.

          *

          * Allowed values include the following: *

          *
            *
          • *

            * 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 GetDevicePoolCompatibilityRequest withTestType(TestType testType) { setTestType(testType); 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 (getDevicePoolArn() != null) sb.append("DevicePoolArn: " + getDevicePoolArn() + ","); if (getAppArn() != null) sb.append("AppArn: " + getAppArn() + ","); if (getTestType() != null) sb.append("TestType: " + getTestType()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetDevicePoolCompatibilityRequest == false) return false; GetDevicePoolCompatibilityRequest other = (GetDevicePoolCompatibilityRequest) obj; if (other.getDevicePoolArn() == null ^ this.getDevicePoolArn() == null) return false; if (other.getDevicePoolArn() != null && other.getDevicePoolArn().equals(this.getDevicePoolArn()) == false) return false; if (other.getAppArn() == null ^ this.getAppArn() == null) return false; if (other.getAppArn() != null && other.getAppArn().equals(this.getAppArn()) == false) return false; if (other.getTestType() == null ^ this.getTestType() == null) return false; if (other.getTestType() != null && other.getTestType().equals(this.getTestType()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getDevicePoolArn() == null) ? 0 : getDevicePoolArn() .hashCode()); hashCode = prime * hashCode + ((getAppArn() == null) ? 0 : getAppArn().hashCode()); hashCode = prime * hashCode + ((getTestType() == null) ? 0 : getTestType().hashCode()); return hashCode; } @Override public GetDevicePoolCompatibilityRequest clone() { return (GetDevicePoolCompatibilityRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy