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

software.amazon.awssdk.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: 2.29.39
Show newest version
/*
 * Copyright 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 software.amazon.awssdk.services.devicefarm.model;

import java.beans.Transient;
import java.io.Serializable;
import java.time.Instant;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.function.BiConsumer;
import java.util.function.Consumer;
import java.util.function.Function;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.core.SdkField;
import software.amazon.awssdk.core.SdkPojo;
import software.amazon.awssdk.core.protocol.MarshallLocation;
import software.amazon.awssdk.core.protocol.MarshallingType;
import software.amazon.awssdk.core.traits.LocationTrait;
import software.amazon.awssdk.utils.ToString;
import software.amazon.awssdk.utils.builder.CopyableBuilder;
import software.amazon.awssdk.utils.builder.ToCopyableBuilder;

/**
 * 

* Represents a test run on a set of devices with a given app package, test parameters, and so on. *

*/ @Generated("software.amazon.awssdk:codegen") public final class Run implements SdkPojo, Serializable, ToCopyableBuilder { private static final SdkField ARN_FIELD = SdkField. builder(MarshallingType.STRING).memberName("arn") .getter(getter(Run::arn)).setter(setter(Builder::arn)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("arn").build()).build(); private static final SdkField NAME_FIELD = SdkField. builder(MarshallingType.STRING).memberName("name") .getter(getter(Run::name)).setter(setter(Builder::name)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("name").build()).build(); private static final SdkField TYPE_FIELD = SdkField. builder(MarshallingType.STRING).memberName("type") .getter(getter(Run::typeAsString)).setter(setter(Builder::type)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("type").build()).build(); private static final SdkField PLATFORM_FIELD = SdkField. builder(MarshallingType.STRING) .memberName("platform").getter(getter(Run::platformAsString)).setter(setter(Builder::platform)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("platform").build()).build(); private static final SdkField CREATED_FIELD = SdkField. builder(MarshallingType.INSTANT) .memberName("created").getter(getter(Run::created)).setter(setter(Builder::created)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("created").build()).build(); private static final SdkField STATUS_FIELD = SdkField. builder(MarshallingType.STRING).memberName("status") .getter(getter(Run::statusAsString)).setter(setter(Builder::status)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("status").build()).build(); private static final SdkField RESULT_FIELD = SdkField. builder(MarshallingType.STRING).memberName("result") .getter(getter(Run::resultAsString)).setter(setter(Builder::result)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("result").build()).build(); private static final SdkField STARTED_FIELD = SdkField. builder(MarshallingType.INSTANT) .memberName("started").getter(getter(Run::started)).setter(setter(Builder::started)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("started").build()).build(); private static final SdkField STOPPED_FIELD = SdkField. builder(MarshallingType.INSTANT) .memberName("stopped").getter(getter(Run::stopped)).setter(setter(Builder::stopped)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("stopped").build()).build(); private static final SdkField COUNTERS_FIELD = SdkField. builder(MarshallingType.SDK_POJO) .memberName("counters").getter(getter(Run::counters)).setter(setter(Builder::counters)) .constructor(Counters::builder) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("counters").build()).build(); private static final SdkField MESSAGE_FIELD = SdkField. builder(MarshallingType.STRING).memberName("message") .getter(getter(Run::message)).setter(setter(Builder::message)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("message").build()).build(); private static final SdkField TOTAL_JOBS_FIELD = SdkField. builder(MarshallingType.INTEGER) .memberName("totalJobs").getter(getter(Run::totalJobs)).setter(setter(Builder::totalJobs)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("totalJobs").build()).build(); private static final SdkField COMPLETED_JOBS_FIELD = SdkField. builder(MarshallingType.INTEGER) .memberName("completedJobs").getter(getter(Run::completedJobs)).setter(setter(Builder::completedJobs)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("completedJobs").build()).build(); private static final SdkField BILLING_METHOD_FIELD = SdkField. builder(MarshallingType.STRING) .memberName("billingMethod").getter(getter(Run::billingMethodAsString)).setter(setter(Builder::billingMethod)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("billingMethod").build()).build(); private static final SdkField DEVICE_MINUTES_FIELD = SdkField . builder(MarshallingType.SDK_POJO).memberName("deviceMinutes").getter(getter(Run::deviceMinutes)) .setter(setter(Builder::deviceMinutes)).constructor(DeviceMinutes::builder) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("deviceMinutes").build()).build(); private static final SdkField NETWORK_PROFILE_FIELD = SdkField . builder(MarshallingType.SDK_POJO).memberName("networkProfile").getter(getter(Run::networkProfile)) .setter(setter(Builder::networkProfile)).constructor(NetworkProfile::builder) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("networkProfile").build()).build(); private static final SdkField PARSING_RESULT_URL_FIELD = SdkField. builder(MarshallingType.STRING) .memberName("parsingResultUrl").getter(getter(Run::parsingResultUrl)).setter(setter(Builder::parsingResultUrl)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("parsingResultUrl").build()).build(); private static final SdkField RESULT_CODE_FIELD = SdkField. builder(MarshallingType.STRING) .memberName("resultCode").getter(getter(Run::resultCodeAsString)).setter(setter(Builder::resultCode)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("resultCode").build()).build(); private static final SdkField SEED_FIELD = SdkField. builder(MarshallingType.INTEGER).memberName("seed") .getter(getter(Run::seed)).setter(setter(Builder::seed)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("seed").build()).build(); private static final SdkField APP_UPLOAD_FIELD = SdkField. builder(MarshallingType.STRING) .memberName("appUpload").getter(getter(Run::appUpload)).setter(setter(Builder::appUpload)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("appUpload").build()).build(); private static final SdkField EVENT_COUNT_FIELD = SdkField. builder(MarshallingType.INTEGER) .memberName("eventCount").getter(getter(Run::eventCount)).setter(setter(Builder::eventCount)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("eventCount").build()).build(); private static final SdkField JOB_TIMEOUT_MINUTES_FIELD = SdkField. builder(MarshallingType.INTEGER) .memberName("jobTimeoutMinutes").getter(getter(Run::jobTimeoutMinutes)).setter(setter(Builder::jobTimeoutMinutes)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("jobTimeoutMinutes").build()).build(); private static final SdkField DEVICE_POOL_ARN_FIELD = SdkField. builder(MarshallingType.STRING) .memberName("devicePoolArn").getter(getter(Run::devicePoolArn)).setter(setter(Builder::devicePoolArn)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("devicePoolArn").build()).build(); private static final SdkField LOCALE_FIELD = SdkField. builder(MarshallingType.STRING).memberName("locale") .getter(getter(Run::locale)).setter(setter(Builder::locale)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("locale").build()).build(); private static final SdkField RADIOS_FIELD = SdkField. builder(MarshallingType.SDK_POJO).memberName("radios") .getter(getter(Run::radios)).setter(setter(Builder::radios)).constructor(Radios::builder) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("radios").build()).build(); private static final SdkField LOCATION_FIELD = SdkField. builder(MarshallingType.SDK_POJO) .memberName("location").getter(getter(Run::location)).setter(setter(Builder::location)) .constructor(Location::builder) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("location").build()).build(); private static final SdkField CUSTOMER_ARTIFACT_PATHS_FIELD = SdkField . builder(MarshallingType.SDK_POJO).memberName("customerArtifactPaths") .getter(getter(Run::customerArtifactPaths)).setter(setter(Builder::customerArtifactPaths)) .constructor(CustomerArtifactPaths::builder) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("customerArtifactPaths").build()) .build(); private static final SdkField WEB_URL_FIELD = SdkField. builder(MarshallingType.STRING).memberName("webUrl") .getter(getter(Run::webUrl)).setter(setter(Builder::webUrl)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("webUrl").build()).build(); private static final SdkField SKIP_APP_RESIGN_FIELD = SdkField. builder(MarshallingType.BOOLEAN) .memberName("skipAppResign").getter(getter(Run::skipAppResign)).setter(setter(Builder::skipAppResign)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("skipAppResign").build()).build(); private static final SdkField TEST_SPEC_ARN_FIELD = SdkField. builder(MarshallingType.STRING) .memberName("testSpecArn").getter(getter(Run::testSpecArn)).setter(setter(Builder::testSpecArn)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("testSpecArn").build()).build(); private static final SdkField DEVICE_SELECTION_RESULT_FIELD = SdkField . builder(MarshallingType.SDK_POJO).memberName("deviceSelectionResult") .getter(getter(Run::deviceSelectionResult)).setter(setter(Builder::deviceSelectionResult)) .constructor(DeviceSelectionResult::builder) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("deviceSelectionResult").build()) .build(); private static final List> SDK_FIELDS = Collections.unmodifiableList(Arrays.asList(ARN_FIELD, NAME_FIELD, TYPE_FIELD, PLATFORM_FIELD, CREATED_FIELD, STATUS_FIELD, RESULT_FIELD, STARTED_FIELD, STOPPED_FIELD, COUNTERS_FIELD, MESSAGE_FIELD, TOTAL_JOBS_FIELD, COMPLETED_JOBS_FIELD, BILLING_METHOD_FIELD, DEVICE_MINUTES_FIELD, NETWORK_PROFILE_FIELD, PARSING_RESULT_URL_FIELD, RESULT_CODE_FIELD, SEED_FIELD, APP_UPLOAD_FIELD, EVENT_COUNT_FIELD, JOB_TIMEOUT_MINUTES_FIELD, DEVICE_POOL_ARN_FIELD, LOCALE_FIELD, RADIOS_FIELD, LOCATION_FIELD, CUSTOMER_ARTIFACT_PATHS_FIELD, WEB_URL_FIELD, SKIP_APP_RESIGN_FIELD, TEST_SPEC_ARN_FIELD, DEVICE_SELECTION_RESULT_FIELD)); private static final long serialVersionUID = 1L; private final String arn; private final String name; private final String type; private final String platform; private final Instant created; private final String status; private final String result; private final Instant started; private final Instant stopped; private final Counters counters; private final String message; private final Integer totalJobs; private final Integer completedJobs; private final String billingMethod; private final DeviceMinutes deviceMinutes; private final NetworkProfile networkProfile; private final String parsingResultUrl; private final String resultCode; private final Integer seed; private final String appUpload; private final Integer eventCount; private final Integer jobTimeoutMinutes; private final String devicePoolArn; private final String locale; private final Radios radios; private final Location location; private final CustomerArtifactPaths customerArtifactPaths; private final String webUrl; private final Boolean skipAppResign; private final String testSpecArn; private final DeviceSelectionResult deviceSelectionResult; private Run(BuilderImpl builder) { this.arn = builder.arn; this.name = builder.name; this.type = builder.type; this.platform = builder.platform; this.created = builder.created; this.status = builder.status; this.result = builder.result; this.started = builder.started; this.stopped = builder.stopped; this.counters = builder.counters; this.message = builder.message; this.totalJobs = builder.totalJobs; this.completedJobs = builder.completedJobs; this.billingMethod = builder.billingMethod; this.deviceMinutes = builder.deviceMinutes; this.networkProfile = builder.networkProfile; this.parsingResultUrl = builder.parsingResultUrl; this.resultCode = builder.resultCode; this.seed = builder.seed; this.appUpload = builder.appUpload; this.eventCount = builder.eventCount; this.jobTimeoutMinutes = builder.jobTimeoutMinutes; this.devicePoolArn = builder.devicePoolArn; this.locale = builder.locale; this.radios = builder.radios; this.location = builder.location; this.customerArtifactPaths = builder.customerArtifactPaths; this.webUrl = builder.webUrl; this.skipAppResign = builder.skipAppResign; this.testSpecArn = builder.testSpecArn; this.deviceSelectionResult = builder.deviceSelectionResult; } /** *

* The run's ARN. *

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

* The run's name. *

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

* The run's type. *

*

* Must be one of the following values: *

*
    *
  • *

    * BUILTIN_FUZZ *

    *
  • *
  • *

    * BUILTIN_EXPLORER *

    * *

    * For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at the * same time. *

    *
  • *
  • *

    * APPIUM_JAVA_JUNIT *

    *
  • *
  • *

    * APPIUM_JAVA_TESTNG *

    *
  • *
  • *

    * APPIUM_PYTHON *

    *
  • *
  • *

    * APPIUM_NODE *

    *
  • *
  • *

    * APPIUM_RUBY *

    *
  • *
  • *

    * APPIUM_WEB_JAVA_JUNIT *

    *
  • *
  • *

    * APPIUM_WEB_JAVA_TESTNG *

    *
  • *
  • *

    * APPIUM_WEB_PYTHON *

    *
  • *
  • *

    * APPIUM_WEB_NODE *

    *
  • *
  • *

    * APPIUM_WEB_RUBY *

    *
  • *
  • *

    * CALABASH *

    *
  • *
  • *

    * INSTRUMENTATION *

    *
  • *
  • *

    * UIAUTOMATION *

    *
  • *
  • *

    * UIAUTOMATOR *

    *
  • *
  • *

    * XCTEST *

    *
  • *
  • *

    * XCTEST_UI *

    *
  • *
*

* If the service returns an enum value that is not available in the current SDK version, {@link #type} will return * {@link TestType#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #typeAsString}. *

* * @return The run's type.

*

* Must be one of the following values: *

*
    *
  • *

    * BUILTIN_FUZZ *

    *
  • *
  • *

    * BUILTIN_EXPLORER *

    * *

    * For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots * at the same time. *

    *
  • *
  • *

    * APPIUM_JAVA_JUNIT *

    *
  • *
  • *

    * APPIUM_JAVA_TESTNG *

    *
  • *
  • *

    * APPIUM_PYTHON *

    *
  • *
  • *

    * APPIUM_NODE *

    *
  • *
  • *

    * APPIUM_RUBY *

    *
  • *
  • *

    * APPIUM_WEB_JAVA_JUNIT *

    *
  • *
  • *

    * APPIUM_WEB_JAVA_TESTNG *

    *
  • *
  • *

    * APPIUM_WEB_PYTHON *

    *
  • *
  • *

    * APPIUM_WEB_NODE *

    *
  • *
  • *

    * APPIUM_WEB_RUBY *

    *
  • *
  • *

    * CALABASH *

    *
  • *
  • *

    * INSTRUMENTATION *

    *
  • *
  • *

    * UIAUTOMATION *

    *
  • *
  • *

    * UIAUTOMATOR *

    *
  • *
  • *

    * XCTEST *

    *
  • *
  • *

    * XCTEST_UI *

    *
  • * @see TestType */ public final TestType type() { return TestType.fromValue(type); } /** *

    * The run's type. *

    *

    * Must be one of the following values: *

    *
      *
    • *

      * BUILTIN_FUZZ *

      *
    • *
    • *

      * BUILTIN_EXPLORER *

      * *

      * For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at the * same time. *

      *
    • *
    • *

      * APPIUM_JAVA_JUNIT *

      *
    • *
    • *

      * APPIUM_JAVA_TESTNG *

      *
    • *
    • *

      * APPIUM_PYTHON *

      *
    • *
    • *

      * APPIUM_NODE *

      *
    • *
    • *

      * APPIUM_RUBY *

      *
    • *
    • *

      * APPIUM_WEB_JAVA_JUNIT *

      *
    • *
    • *

      * APPIUM_WEB_JAVA_TESTNG *

      *
    • *
    • *

      * APPIUM_WEB_PYTHON *

      *
    • *
    • *

      * APPIUM_WEB_NODE *

      *
    • *
    • *

      * APPIUM_WEB_RUBY *

      *
    • *
    • *

      * CALABASH *

      *
    • *
    • *

      * INSTRUMENTATION *

      *
    • *
    • *

      * UIAUTOMATION *

      *
    • *
    • *

      * UIAUTOMATOR *

      *
    • *
    • *

      * XCTEST *

      *
    • *
    • *

      * XCTEST_UI *

      *
    • *
    *

    * If the service returns an enum value that is not available in the current SDK version, {@link #type} will return * {@link TestType#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #typeAsString}. *

    * * @return The run's type.

    *

    * Must be one of the following values: *

    *
      *
    • *

      * BUILTIN_FUZZ *

      *
    • *
    • *

      * BUILTIN_EXPLORER *

      * *

      * For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots * at the same time. *

      *
    • *
    • *

      * APPIUM_JAVA_JUNIT *

      *
    • *
    • *

      * APPIUM_JAVA_TESTNG *

      *
    • *
    • *

      * APPIUM_PYTHON *

      *
    • *
    • *

      * APPIUM_NODE *

      *
    • *
    • *

      * APPIUM_RUBY *

      *
    • *
    • *

      * APPIUM_WEB_JAVA_JUNIT *

      *
    • *
    • *

      * APPIUM_WEB_JAVA_TESTNG *

      *
    • *
    • *

      * APPIUM_WEB_PYTHON *

      *
    • *
    • *

      * APPIUM_WEB_NODE *

      *
    • *
    • *

      * APPIUM_WEB_RUBY *

      *
    • *
    • *

      * CALABASH *

      *
    • *
    • *

      * INSTRUMENTATION *

      *
    • *
    • *

      * UIAUTOMATION *

      *
    • *
    • *

      * UIAUTOMATOR *

      *
    • *
    • *

      * XCTEST *

      *
    • *
    • *

      * XCTEST_UI *

      *
    • * @see TestType */ public final String typeAsString() { return type; } /** *

      * The run's platform. *

      *

      * Allowed values include: *

      *
        *
      • *

        * ANDROID *

        *
      • *
      • *

        * IOS *

        *
      • *
      *

      * If the service returns an enum value that is not available in the current SDK version, {@link #platform} will * return {@link DevicePlatform#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #platformAsString}. *

      * * @return The run's platform.

      *

      * Allowed values include: *

      *
        *
      • *

        * ANDROID *

        *
      • *
      • *

        * IOS *

        *
      • * @see DevicePlatform */ public final DevicePlatform platform() { return DevicePlatform.fromValue(platform); } /** *

        * The run's platform. *

        *

        * Allowed values include: *

        *
          *
        • *

          * ANDROID *

          *
        • *
        • *

          * IOS *

          *
        • *
        *

        * If the service returns an enum value that is not available in the current SDK version, {@link #platform} will * return {@link DevicePlatform#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #platformAsString}. *

        * * @return The run's platform.

        *

        * Allowed values include: *

        *
          *
        • *

          * ANDROID *

          *
        • *
        • *

          * IOS *

          *
        • * @see DevicePlatform */ public final String platformAsString() { return platform; } /** *

          * When the run was created. *

          * * @return When the run was created. */ public final Instant created() { return created; } /** *

          * The run's status. *

          *

          * Allowed values include: *

          *
            *
          • *

            * PENDING *

            *
          • *
          • *

            * PENDING_CONCURRENCY *

            *
          • *
          • *

            * PENDING_DEVICE *

            *
          • *
          • *

            * PROCESSING *

            *
          • *
          • *

            * SCHEDULING *

            *
          • *
          • *

            * PREPARING *

            *
          • *
          • *

            * RUNNING *

            *
          • *
          • *

            * COMPLETED *

            *
          • *
          • *

            * STOPPING *

            *
          • *
          *

          * If the service returns an enum value that is not available in the current SDK version, {@link #status} will * return {@link ExecutionStatus#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #statusAsString}. *

          * * @return The run's status.

          *

          * Allowed values include: *

          *
            *
          • *

            * PENDING *

            *
          • *
          • *

            * PENDING_CONCURRENCY *

            *
          • *
          • *

            * PENDING_DEVICE *

            *
          • *
          • *

            * PROCESSING *

            *
          • *
          • *

            * SCHEDULING *

            *
          • *
          • *

            * PREPARING *

            *
          • *
          • *

            * RUNNING *

            *
          • *
          • *

            * COMPLETED *

            *
          • *
          • *

            * STOPPING *

            *
          • * @see ExecutionStatus */ public final ExecutionStatus status() { return ExecutionStatus.fromValue(status); } /** *

            * The run's status. *

            *

            * Allowed values include: *

            *
              *
            • *

              * PENDING *

              *
            • *
            • *

              * PENDING_CONCURRENCY *

              *
            • *
            • *

              * PENDING_DEVICE *

              *
            • *
            • *

              * PROCESSING *

              *
            • *
            • *

              * SCHEDULING *

              *
            • *
            • *

              * PREPARING *

              *
            • *
            • *

              * RUNNING *

              *
            • *
            • *

              * COMPLETED *

              *
            • *
            • *

              * STOPPING *

              *
            • *
            *

            * If the service returns an enum value that is not available in the current SDK version, {@link #status} will * return {@link ExecutionStatus#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #statusAsString}. *

            * * @return The run's status.

            *

            * Allowed values include: *

            *
              *
            • *

              * PENDING *

              *
            • *
            • *

              * PENDING_CONCURRENCY *

              *
            • *
            • *

              * PENDING_DEVICE *

              *
            • *
            • *

              * PROCESSING *

              *
            • *
            • *

              * SCHEDULING *

              *
            • *
            • *

              * PREPARING *

              *
            • *
            • *

              * RUNNING *

              *
            • *
            • *

              * COMPLETED *

              *
            • *
            • *

              * STOPPING *

              *
            • * @see ExecutionStatus */ public final String statusAsString() { return status; } /** *

              * The run's result. *

              *

              * Allowed values include: *

              *
                *
              • *

                * PENDING *

                *
              • *
              • *

                * PASSED *

                *
              • *
              • *

                * WARNED *

                *
              • *
              • *

                * FAILED *

                *
              • *
              • *

                * SKIPPED *

                *
              • *
              • *

                * ERRORED *

                *
              • *
              • *

                * STOPPED *

                *
              • *
              *

              * If the service returns an enum value that is not available in the current SDK version, {@link #result} will * return {@link ExecutionResult#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #resultAsString}. *

              * * @return The run's result.

              *

              * Allowed values include: *

              *
                *
              • *

                * PENDING *

                *
              • *
              • *

                * PASSED *

                *
              • *
              • *

                * WARNED *

                *
              • *
              • *

                * FAILED *

                *
              • *
              • *

                * SKIPPED *

                *
              • *
              • *

                * ERRORED *

                *
              • *
              • *

                * STOPPED *

                *
              • * @see ExecutionResult */ public final ExecutionResult result() { return ExecutionResult.fromValue(result); } /** *

                * The run's result. *

                *

                * Allowed values include: *

                *
                  *
                • *

                  * PENDING *

                  *
                • *
                • *

                  * PASSED *

                  *
                • *
                • *

                  * WARNED *

                  *
                • *
                • *

                  * FAILED *

                  *
                • *
                • *

                  * SKIPPED *

                  *
                • *
                • *

                  * ERRORED *

                  *
                • *
                • *

                  * STOPPED *

                  *
                • *
                *

                * If the service returns an enum value that is not available in the current SDK version, {@link #result} will * return {@link ExecutionResult#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #resultAsString}. *

                * * @return The run's result.

                *

                * Allowed values include: *

                *
                  *
                • *

                  * PENDING *

                  *
                • *
                • *

                  * PASSED *

                  *
                • *
                • *

                  * WARNED *

                  *
                • *
                • *

                  * FAILED *

                  *
                • *
                • *

                  * SKIPPED *

                  *
                • *
                • *

                  * ERRORED *

                  *
                • *
                • *

                  * STOPPED *

                  *
                • * @see ExecutionResult */ public final String resultAsString() { return result; } /** *

                  * The run's start time. *

                  * * @return The run's start time. */ public final Instant started() { return started; } /** *

                  * The run's stop time. *

                  * * @return The run's stop time. */ public final Instant stopped() { return stopped; } /** *

                  * The run's result counters. *

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

                  * A message about the run's result. *

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

                  * The total number of jobs for the run. *

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

                  * The total number of completed jobs. *

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

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

                  * *

                  * If you have unmetered device slots, you must set this to unmetered to use them. Otherwise, the run * is counted toward metered device minutes. *

                  *
                  *

                  * If the service returns an enum value that is not available in the current SDK version, {@link #billingMethod} * will return {@link BillingMethod#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #billingMethodAsString}. *

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

                  *

                  * If you have unmetered device slots, you must set this to unmetered to use them. Otherwise, * the run is counted toward metered device minutes. *

                  * @see BillingMethod */ public final BillingMethod billingMethod() { return BillingMethod.fromValue(billingMethod); } /** *

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

                  * *

                  * If you have unmetered device slots, you must set this to unmetered to use them. Otherwise, the run * is counted toward metered device minutes. *

                  *
                  *

                  * If the service returns an enum value that is not available in the current SDK version, {@link #billingMethod} * will return {@link BillingMethod#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #billingMethodAsString}. *

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

                  *

                  * If you have unmetered device slots, you must set this to unmetered to use them. Otherwise, * the run is counted toward metered device minutes. *

                  * @see BillingMethod */ public final String billingMethodAsString() { return billingMethod; } /** *

                  * 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 final DeviceMinutes deviceMinutes() { return deviceMinutes; } /** *

                  * The network profile being used for a test run. *

                  * * @return The network profile being used for a test run. */ public final NetworkProfile networkProfile() { return networkProfile; } /** *

                  * Read-only URL for an object in an S3 bucket where you can get the parsing results of the test package. If the * test package doesn't parse, the reason why it doesn't parse appears in the file that this URL points to. *

                  * * @return Read-only URL for an object in an S3 bucket where you can get the parsing results of the test package. If * the test package doesn't parse, the reason why it doesn't parse appears in the file that this URL points * to. */ public final String parsingResultUrl() { return parsingResultUrl; } /** *

                  * Supporting field for the result field. Set only if result is SKIPPED. * PARSING_FAILED if the result is skipped because of test package parsing failure. *

                  *

                  * If the service returns an enum value that is not available in the current SDK version, {@link #resultCode} will * return {@link ExecutionResultCode#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available * from {@link #resultCodeAsString}. *

                  * * @return Supporting field for the result field. Set only if result is SKIPPED. * PARSING_FAILED if the result is skipped because of test package parsing failure. * @see ExecutionResultCode */ public final ExecutionResultCode resultCode() { return ExecutionResultCode.fromValue(resultCode); } /** *

                  * Supporting field for the result field. Set only if result is SKIPPED. * PARSING_FAILED if the result is skipped because of test package parsing failure. *

                  *

                  * If the service returns an enum value that is not available in the current SDK version, {@link #resultCode} will * return {@link ExecutionResultCode#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available * from {@link #resultCodeAsString}. *

                  * * @return Supporting field for the result field. Set only if result is SKIPPED. * PARSING_FAILED if the result is skipped because of test package parsing failure. * @see ExecutionResultCode */ public final String resultCodeAsString() { return resultCode; } /** *

                  * For fuzz tests, this is a seed to use for randomizing the UI fuzz test. Using the same seed value between tests * ensures identical event sequences. *

                  * * @return For fuzz tests, this is a seed to use for randomizing the UI fuzz test. Using the same seed value between * tests ensures identical event sequences. */ public final Integer seed() { return seed; } /** *

                  * An app to upload or that has been uploaded. *

                  * * @return An app to upload or that has been uploaded. */ public final String appUpload() { return appUpload; } /** *

                  * For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform. *

                  * * @return For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform. */ public final Integer eventCount() { return eventCount; } /** *

                  * The number of minutes the job executes before it times out. *

                  * * @return The number of minutes the job executes before it times out. */ public final Integer jobTimeoutMinutes() { return jobTimeoutMinutes; } /** *

                  * The ARN of the device pool for the run. *

                  * * @return The ARN of the device pool for the run. */ public final String devicePoolArn() { return devicePoolArn; } /** *

                  * Information about the locale that is used for the run. *

                  * * @return Information about the locale that is used for the run. */ public final String locale() { return locale; } /** *

                  * Information about the radio states for the run. *

                  * * @return Information about the radio states for the run. */ public final Radios radios() { return radios; } /** *

                  * Information about the location that is used for the run. *

                  * * @return Information about the location that is used for the run. */ public final Location location() { return location; } /** *

                  * Output CustomerArtifactPaths object for the test run. *

                  * * @return Output CustomerArtifactPaths object for the test run. */ public final CustomerArtifactPaths customerArtifactPaths() { return customerArtifactPaths; } /** *

                  * The Device Farm console URL for the recording of the run. *

                  * * @return The Device Farm console URL for the recording of the run. */ public final String webUrl() { return webUrl; } /** *

                  * When set to true, for private devices, Device Farm does not sign your app again. For public devices, * Device Farm always signs your apps again. *

                  *

                  * For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs. *

                  * * @return When set to true, for private devices, Device Farm does not sign your app again. For public * devices, Device Farm always signs your apps again.

                  *

                  * For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm * FAQs. */ public final Boolean skipAppResign() { return skipAppResign; } /** *

                  * The ARN of the YAML-formatted test specification for the run. *

                  * * @return The ARN of the YAML-formatted test specification for the run. */ public final String testSpecArn() { return testSpecArn; } /** *

                  * The results of a device filter used to select the devices for a test run. *

                  * * @return The results of a device filter used to select the devices for a test run. */ public final DeviceSelectionResult deviceSelectionResult() { return deviceSelectionResult; } @Override public Builder toBuilder() { return new BuilderImpl(this); } public static Builder builder() { return new BuilderImpl(); } public static Class serializableBuilderClass() { return BuilderImpl.class; } @Override public final int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(arn()); hashCode = 31 * hashCode + Objects.hashCode(name()); hashCode = 31 * hashCode + Objects.hashCode(typeAsString()); hashCode = 31 * hashCode + Objects.hashCode(platformAsString()); hashCode = 31 * hashCode + Objects.hashCode(created()); hashCode = 31 * hashCode + Objects.hashCode(statusAsString()); hashCode = 31 * hashCode + Objects.hashCode(resultAsString()); hashCode = 31 * hashCode + Objects.hashCode(started()); hashCode = 31 * hashCode + Objects.hashCode(stopped()); hashCode = 31 * hashCode + Objects.hashCode(counters()); hashCode = 31 * hashCode + Objects.hashCode(message()); hashCode = 31 * hashCode + Objects.hashCode(totalJobs()); hashCode = 31 * hashCode + Objects.hashCode(completedJobs()); hashCode = 31 * hashCode + Objects.hashCode(billingMethodAsString()); hashCode = 31 * hashCode + Objects.hashCode(deviceMinutes()); hashCode = 31 * hashCode + Objects.hashCode(networkProfile()); hashCode = 31 * hashCode + Objects.hashCode(parsingResultUrl()); hashCode = 31 * hashCode + Objects.hashCode(resultCodeAsString()); hashCode = 31 * hashCode + Objects.hashCode(seed()); hashCode = 31 * hashCode + Objects.hashCode(appUpload()); hashCode = 31 * hashCode + Objects.hashCode(eventCount()); hashCode = 31 * hashCode + Objects.hashCode(jobTimeoutMinutes()); hashCode = 31 * hashCode + Objects.hashCode(devicePoolArn()); hashCode = 31 * hashCode + Objects.hashCode(locale()); hashCode = 31 * hashCode + Objects.hashCode(radios()); hashCode = 31 * hashCode + Objects.hashCode(location()); hashCode = 31 * hashCode + Objects.hashCode(customerArtifactPaths()); hashCode = 31 * hashCode + Objects.hashCode(webUrl()); hashCode = 31 * hashCode + Objects.hashCode(skipAppResign()); hashCode = 31 * hashCode + Objects.hashCode(testSpecArn()); hashCode = 31 * hashCode + Objects.hashCode(deviceSelectionResult()); return hashCode; } @Override public final boolean equals(Object obj) { return equalsBySdkFields(obj); } @Override public final boolean equalsBySdkFields(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof Run)) { return false; } Run other = (Run) obj; return Objects.equals(arn(), other.arn()) && Objects.equals(name(), other.name()) && Objects.equals(typeAsString(), other.typeAsString()) && Objects.equals(platformAsString(), other.platformAsString()) && Objects.equals(created(), other.created()) && Objects.equals(statusAsString(), other.statusAsString()) && Objects.equals(resultAsString(), other.resultAsString()) && Objects.equals(started(), other.started()) && Objects.equals(stopped(), other.stopped()) && Objects.equals(counters(), other.counters()) && Objects.equals(message(), other.message()) && Objects.equals(totalJobs(), other.totalJobs()) && Objects.equals(completedJobs(), other.completedJobs()) && Objects.equals(billingMethodAsString(), other.billingMethodAsString()) && Objects.equals(deviceMinutes(), other.deviceMinutes()) && Objects.equals(networkProfile(), other.networkProfile()) && Objects.equals(parsingResultUrl(), other.parsingResultUrl()) && Objects.equals(resultCodeAsString(), other.resultCodeAsString()) && Objects.equals(seed(), other.seed()) && Objects.equals(appUpload(), other.appUpload()) && Objects.equals(eventCount(), other.eventCount()) && Objects.equals(jobTimeoutMinutes(), other.jobTimeoutMinutes()) && Objects.equals(devicePoolArn(), other.devicePoolArn()) && Objects.equals(locale(), other.locale()) && Objects.equals(radios(), other.radios()) && Objects.equals(location(), other.location()) && Objects.equals(customerArtifactPaths(), other.customerArtifactPaths()) && Objects.equals(webUrl(), other.webUrl()) && Objects.equals(skipAppResign(), other.skipAppResign()) && Objects.equals(testSpecArn(), other.testSpecArn()) && Objects.equals(deviceSelectionResult(), other.deviceSelectionResult()); } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. */ @Override public final String toString() { return ToString.builder("Run").add("Arn", arn()).add("Name", name()).add("Type", typeAsString()) .add("Platform", platformAsString()).add("Created", created()).add("Status", statusAsString()) .add("Result", resultAsString()).add("Started", started()).add("Stopped", stopped()).add("Counters", counters()) .add("Message", message()).add("TotalJobs", totalJobs()).add("CompletedJobs", completedJobs()) .add("BillingMethod", billingMethodAsString()).add("DeviceMinutes", deviceMinutes()) .add("NetworkProfile", networkProfile()).add("ParsingResultUrl", parsingResultUrl()) .add("ResultCode", resultCodeAsString()).add("Seed", seed()).add("AppUpload", appUpload()) .add("EventCount", eventCount()).add("JobTimeoutMinutes", jobTimeoutMinutes()) .add("DevicePoolArn", devicePoolArn()).add("Locale", locale()).add("Radios", radios()) .add("Location", location()).add("CustomerArtifactPaths", customerArtifactPaths()).add("WebUrl", webUrl()) .add("SkipAppResign", skipAppResign()).add("TestSpecArn", testSpecArn()) .add("DeviceSelectionResult", deviceSelectionResult()).build(); } public final Optional getValueForField(String fieldName, Class clazz) { switch (fieldName) { case "arn": return Optional.ofNullable(clazz.cast(arn())); case "name": return Optional.ofNullable(clazz.cast(name())); case "type": return Optional.ofNullable(clazz.cast(typeAsString())); case "platform": return Optional.ofNullable(clazz.cast(platformAsString())); case "created": return Optional.ofNullable(clazz.cast(created())); case "status": return Optional.ofNullable(clazz.cast(statusAsString())); case "result": return Optional.ofNullable(clazz.cast(resultAsString())); case "started": return Optional.ofNullable(clazz.cast(started())); case "stopped": return Optional.ofNullable(clazz.cast(stopped())); case "counters": return Optional.ofNullable(clazz.cast(counters())); case "message": return Optional.ofNullable(clazz.cast(message())); case "totalJobs": return Optional.ofNullable(clazz.cast(totalJobs())); case "completedJobs": return Optional.ofNullable(clazz.cast(completedJobs())); case "billingMethod": return Optional.ofNullable(clazz.cast(billingMethodAsString())); case "deviceMinutes": return Optional.ofNullable(clazz.cast(deviceMinutes())); case "networkProfile": return Optional.ofNullable(clazz.cast(networkProfile())); case "parsingResultUrl": return Optional.ofNullable(clazz.cast(parsingResultUrl())); case "resultCode": return Optional.ofNullable(clazz.cast(resultCodeAsString())); case "seed": return Optional.ofNullable(clazz.cast(seed())); case "appUpload": return Optional.ofNullable(clazz.cast(appUpload())); case "eventCount": return Optional.ofNullable(clazz.cast(eventCount())); case "jobTimeoutMinutes": return Optional.ofNullable(clazz.cast(jobTimeoutMinutes())); case "devicePoolArn": return Optional.ofNullable(clazz.cast(devicePoolArn())); case "locale": return Optional.ofNullable(clazz.cast(locale())); case "radios": return Optional.ofNullable(clazz.cast(radios())); case "location": return Optional.ofNullable(clazz.cast(location())); case "customerArtifactPaths": return Optional.ofNullable(clazz.cast(customerArtifactPaths())); case "webUrl": return Optional.ofNullable(clazz.cast(webUrl())); case "skipAppResign": return Optional.ofNullable(clazz.cast(skipAppResign())); case "testSpecArn": return Optional.ofNullable(clazz.cast(testSpecArn())); case "deviceSelectionResult": return Optional.ofNullable(clazz.cast(deviceSelectionResult())); default: return Optional.empty(); } } @Override public final List> sdkFields() { return SDK_FIELDS; } private static Function getter(Function g) { return obj -> g.apply((Run) obj); } private static BiConsumer setter(BiConsumer s) { return (obj, val) -> s.accept((Builder) obj, val); } public interface Builder extends SdkPojo, CopyableBuilder { /** *

                  * 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. */ Builder arn(String arn); /** *

                  * 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. */ Builder name(String name); /** *

                  * The run's type. *

                  *

                  * Must be one of the following values: *

                  *
                    *
                  • *

                    * BUILTIN_FUZZ *

                    *
                  • *
                  • *

                    * BUILTIN_EXPLORER *

                    * *

                    * For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at * the same time. *

                    *
                  • *
                  • *

                    * APPIUM_JAVA_JUNIT *

                    *
                  • *
                  • *

                    * APPIUM_JAVA_TESTNG *

                    *
                  • *
                  • *

                    * APPIUM_PYTHON *

                    *
                  • *
                  • *

                    * APPIUM_NODE *

                    *
                  • *
                  • *

                    * APPIUM_RUBY *

                    *
                  • *
                  • *

                    * APPIUM_WEB_JAVA_JUNIT *

                    *
                  • *
                  • *

                    * APPIUM_WEB_JAVA_TESTNG *

                    *
                  • *
                  • *

                    * APPIUM_WEB_PYTHON *

                    *
                  • *
                  • *

                    * APPIUM_WEB_NODE *

                    *
                  • *
                  • *

                    * APPIUM_WEB_RUBY *

                    *
                  • *
                  • *

                    * CALABASH *

                    *
                  • *
                  • *

                    * INSTRUMENTATION *

                    *
                  • *
                  • *

                    * UIAUTOMATION *

                    *
                  • *
                  • *

                    * UIAUTOMATOR *

                    *
                  • *
                  • *

                    * XCTEST *

                    *
                  • *
                  • *

                    * XCTEST_UI *

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

                  *

                  * Must be one of the following values: *

                  *
                    *
                  • *

                    * BUILTIN_FUZZ *

                    *
                  • *
                  • *

                    * BUILTIN_EXPLORER *

                    * *

                    * For Android, an app explorer that traverses an Android app, interacting with it and capturing * screenshots at the same time. *

                    *
                  • *
                  • *

                    * APPIUM_JAVA_JUNIT *

                    *
                  • *
                  • *

                    * APPIUM_JAVA_TESTNG *

                    *
                  • *
                  • *

                    * APPIUM_PYTHON *

                    *
                  • *
                  • *

                    * APPIUM_NODE *

                    *
                  • *
                  • *

                    * APPIUM_RUBY *

                    *
                  • *
                  • *

                    * APPIUM_WEB_JAVA_JUNIT *

                    *
                  • *
                  • *

                    * APPIUM_WEB_JAVA_TESTNG *

                    *
                  • *
                  • *

                    * APPIUM_WEB_PYTHON *

                    *
                  • *
                  • *

                    * APPIUM_WEB_NODE *

                    *
                  • *
                  • *

                    * APPIUM_WEB_RUBY *

                    *
                  • *
                  • *

                    * CALABASH *

                    *
                  • *
                  • *

                    * INSTRUMENTATION *

                    *
                  • *
                  • *

                    * UIAUTOMATION *

                    *
                  • *
                  • *

                    * UIAUTOMATOR *

                    *
                  • *
                  • *

                    * XCTEST *

                    *
                  • *
                  • *

                    * XCTEST_UI *

                    *
                  • * @see TestType * @return Returns a reference to this object so that method calls can be chained together. * @see TestType */ Builder type(String type); /** *

                    * The run's type. *

                    *

                    * Must be one of the following values: *

                    *
                      *
                    • *

                      * BUILTIN_FUZZ *

                      *
                    • *
                    • *

                      * BUILTIN_EXPLORER *

                      * *

                      * For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at * the same time. *

                      *
                    • *
                    • *

                      * APPIUM_JAVA_JUNIT *

                      *
                    • *
                    • *

                      * APPIUM_JAVA_TESTNG *

                      *
                    • *
                    • *

                      * APPIUM_PYTHON *

                      *
                    • *
                    • *

                      * APPIUM_NODE *

                      *
                    • *
                    • *

                      * APPIUM_RUBY *

                      *
                    • *
                    • *

                      * APPIUM_WEB_JAVA_JUNIT *

                      *
                    • *
                    • *

                      * APPIUM_WEB_JAVA_TESTNG *

                      *
                    • *
                    • *

                      * APPIUM_WEB_PYTHON *

                      *
                    • *
                    • *

                      * APPIUM_WEB_NODE *

                      *
                    • *
                    • *

                      * APPIUM_WEB_RUBY *

                      *
                    • *
                    • *

                      * CALABASH *

                      *
                    • *
                    • *

                      * INSTRUMENTATION *

                      *
                    • *
                    • *

                      * UIAUTOMATION *

                      *
                    • *
                    • *

                      * UIAUTOMATOR *

                      *
                    • *
                    • *

                      * XCTEST *

                      *
                    • *
                    • *

                      * XCTEST_UI *

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

                    *

                    * Must be one of the following values: *

                    *
                      *
                    • *

                      * BUILTIN_FUZZ *

                      *
                    • *
                    • *

                      * BUILTIN_EXPLORER *

                      * *

                      * For Android, an app explorer that traverses an Android app, interacting with it and capturing * screenshots at the same time. *

                      *
                    • *
                    • *

                      * APPIUM_JAVA_JUNIT *

                      *
                    • *
                    • *

                      * APPIUM_JAVA_TESTNG *

                      *
                    • *
                    • *

                      * APPIUM_PYTHON *

                      *
                    • *
                    • *

                      * APPIUM_NODE *

                      *
                    • *
                    • *

                      * APPIUM_RUBY *

                      *
                    • *
                    • *

                      * APPIUM_WEB_JAVA_JUNIT *

                      *
                    • *
                    • *

                      * APPIUM_WEB_JAVA_TESTNG *

                      *
                    • *
                    • *

                      * APPIUM_WEB_PYTHON *

                      *
                    • *
                    • *

                      * APPIUM_WEB_NODE *

                      *
                    • *
                    • *

                      * APPIUM_WEB_RUBY *

                      *
                    • *
                    • *

                      * CALABASH *

                      *
                    • *
                    • *

                      * INSTRUMENTATION *

                      *
                    • *
                    • *

                      * UIAUTOMATION *

                      *
                    • *
                    • *

                      * UIAUTOMATOR *

                      *
                    • *
                    • *

                      * XCTEST *

                      *
                    • *
                    • *

                      * XCTEST_UI *

                      *
                    • * @see TestType * @return Returns a reference to this object so that method calls can be chained together. * @see TestType */ Builder type(TestType type); /** *

                      * The run's platform. *

                      *

                      * Allowed values include: *

                      *
                        *
                      • *

                        * ANDROID *

                        *
                      • *
                      • *

                        * IOS *

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

                      *

                      * Allowed values include: *

                      *
                        *
                      • *

                        * ANDROID *

                        *
                      • *
                      • *

                        * IOS *

                        *
                      • * @see DevicePlatform * @return Returns a reference to this object so that method calls can be chained together. * @see DevicePlatform */ Builder platform(String platform); /** *

                        * The run's platform. *

                        *

                        * Allowed values include: *

                        *
                          *
                        • *

                          * ANDROID *

                          *
                        • *
                        • *

                          * IOS *

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

                        *

                        * Allowed values include: *

                        *
                          *
                        • *

                          * ANDROID *

                          *
                        • *
                        • *

                          * IOS *

                          *
                        • * @see DevicePlatform * @return Returns a reference to this object so that method calls can be chained together. * @see DevicePlatform */ Builder platform(DevicePlatform platform); /** *

                          * 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. */ Builder created(Instant created); /** *

                          * The run's status. *

                          *

                          * Allowed values include: *

                          *
                            *
                          • *

                            * PENDING *

                            *
                          • *
                          • *

                            * PENDING_CONCURRENCY *

                            *
                          • *
                          • *

                            * PENDING_DEVICE *

                            *
                          • *
                          • *

                            * PROCESSING *

                            *
                          • *
                          • *

                            * SCHEDULING *

                            *
                          • *
                          • *

                            * PREPARING *

                            *
                          • *
                          • *

                            * RUNNING *

                            *
                          • *
                          • *

                            * COMPLETED *

                            *
                          • *
                          • *

                            * STOPPING *

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

                          *

                          * Allowed values include: *

                          *
                            *
                          • *

                            * PENDING *

                            *
                          • *
                          • *

                            * PENDING_CONCURRENCY *

                            *
                          • *
                          • *

                            * PENDING_DEVICE *

                            *
                          • *
                          • *

                            * PROCESSING *

                            *
                          • *
                          • *

                            * SCHEDULING *

                            *
                          • *
                          • *

                            * PREPARING *

                            *
                          • *
                          • *

                            * RUNNING *

                            *
                          • *
                          • *

                            * COMPLETED *

                            *
                          • *
                          • *

                            * STOPPING *

                            *
                          • * @see ExecutionStatus * @return Returns a reference to this object so that method calls can be chained together. * @see ExecutionStatus */ Builder status(String status); /** *

                            * The run's status. *

                            *

                            * Allowed values include: *

                            *
                              *
                            • *

                              * PENDING *

                              *
                            • *
                            • *

                              * PENDING_CONCURRENCY *

                              *
                            • *
                            • *

                              * PENDING_DEVICE *

                              *
                            • *
                            • *

                              * PROCESSING *

                              *
                            • *
                            • *

                              * SCHEDULING *

                              *
                            • *
                            • *

                              * PREPARING *

                              *
                            • *
                            • *

                              * RUNNING *

                              *
                            • *
                            • *

                              * COMPLETED *

                              *
                            • *
                            • *

                              * STOPPING *

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

                            *

                            * Allowed values include: *

                            *
                              *
                            • *

                              * PENDING *

                              *
                            • *
                            • *

                              * PENDING_CONCURRENCY *

                              *
                            • *
                            • *

                              * PENDING_DEVICE *

                              *
                            • *
                            • *

                              * PROCESSING *

                              *
                            • *
                            • *

                              * SCHEDULING *

                              *
                            • *
                            • *

                              * PREPARING *

                              *
                            • *
                            • *

                              * RUNNING *

                              *
                            • *
                            • *

                              * COMPLETED *

                              *
                            • *
                            • *

                              * STOPPING *

                              *
                            • * @see ExecutionStatus * @return Returns a reference to this object so that method calls can be chained together. * @see ExecutionStatus */ Builder status(ExecutionStatus status); /** *

                              * The run's result. *

                              *

                              * Allowed values include: *

                              *
                                *
                              • *

                                * PENDING *

                                *
                              • *
                              • *

                                * PASSED *

                                *
                              • *
                              • *

                                * WARNED *

                                *
                              • *
                              • *

                                * FAILED *

                                *
                              • *
                              • *

                                * SKIPPED *

                                *
                              • *
                              • *

                                * ERRORED *

                                *
                              • *
                              • *

                                * STOPPED *

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

                              *

                              * Allowed values include: *

                              *
                                *
                              • *

                                * PENDING *

                                *
                              • *
                              • *

                                * PASSED *

                                *
                              • *
                              • *

                                * WARNED *

                                *
                              • *
                              • *

                                * FAILED *

                                *
                              • *
                              • *

                                * SKIPPED *

                                *
                              • *
                              • *

                                * ERRORED *

                                *
                              • *
                              • *

                                * STOPPED *

                                *
                              • * @see ExecutionResult * @return Returns a reference to this object so that method calls can be chained together. * @see ExecutionResult */ Builder result(String result); /** *

                                * The run's result. *

                                *

                                * Allowed values include: *

                                *
                                  *
                                • *

                                  * PENDING *

                                  *
                                • *
                                • *

                                  * PASSED *

                                  *
                                • *
                                • *

                                  * WARNED *

                                  *
                                • *
                                • *

                                  * FAILED *

                                  *
                                • *
                                • *

                                  * SKIPPED *

                                  *
                                • *
                                • *

                                  * ERRORED *

                                  *
                                • *
                                • *

                                  * STOPPED *

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

                                *

                                * Allowed values include: *

                                *
                                  *
                                • *

                                  * PENDING *

                                  *
                                • *
                                • *

                                  * PASSED *

                                  *
                                • *
                                • *

                                  * WARNED *

                                  *
                                • *
                                • *

                                  * FAILED *

                                  *
                                • *
                                • *

                                  * SKIPPED *

                                  *
                                • *
                                • *

                                  * ERRORED *

                                  *
                                • *
                                • *

                                  * STOPPED *

                                  *
                                • * @see ExecutionResult * @return Returns a reference to this object so that method calls can be chained together. * @see ExecutionResult */ Builder result(ExecutionResult result); /** *

                                  * 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. */ Builder started(Instant started); /** *

                                  * 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. */ Builder stopped(Instant stopped); /** *

                                  * 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. */ Builder counters(Counters counters); /** *

                                  * The run's result counters. *

                                  * This is a convenience that creates an instance of the {@link Counters.Builder} avoiding the need to create * one manually via {@link Counters#builder()}. * * When the {@link Consumer} completes, {@link Counters.Builder#build()} is called immediately and its result is * passed to {@link #counters(Counters)}. * * @param counters * a consumer that will call methods on {@link Counters.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #counters(Counters) */ default Builder counters(Consumer counters) { return counters(Counters.builder().applyMutation(counters).build()); } /** *

                                  * 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. */ Builder message(String message); /** *

                                  * 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. */ Builder totalJobs(Integer totalJobs); /** *

                                  * 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. */ Builder completedJobs(Integer completedJobs); /** *

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

                                  * *

                                  * If you have unmetered device slots, you must set this to unmetered to use them. Otherwise, the * run is counted toward metered device minutes. *

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

                                  *

                                  * If you have unmetered device slots, you must set this to unmetered to use them. * Otherwise, the run is counted toward metered device minutes. *

                                  * @see BillingMethod * @return Returns a reference to this object so that method calls can be chained together. * @see BillingMethod */ Builder billingMethod(String billingMethod); /** *

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

                                  * *

                                  * If you have unmetered device slots, you must set this to unmetered to use them. Otherwise, the * run is counted toward metered device minutes. *

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

                                  *

                                  * If you have unmetered device slots, you must set this to unmetered to use them. * Otherwise, the run is counted toward metered device minutes. *

                                  * @see BillingMethod * @return Returns a reference to this object so that method calls can be chained together. * @see BillingMethod */ Builder billingMethod(BillingMethod billingMethod); /** *

                                  * 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. */ Builder deviceMinutes(DeviceMinutes deviceMinutes); /** *

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

                                  * This is a convenience that creates an instance of the {@link DeviceMinutes.Builder} avoiding the need to * create one manually via {@link DeviceMinutes#builder()}. * * When the {@link Consumer} completes, {@link DeviceMinutes.Builder#build()} is called immediately and its * result is passed to {@link #deviceMinutes(DeviceMinutes)}. * * @param deviceMinutes * a consumer that will call methods on {@link DeviceMinutes.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #deviceMinutes(DeviceMinutes) */ default Builder deviceMinutes(Consumer deviceMinutes) { return deviceMinutes(DeviceMinutes.builder().applyMutation(deviceMinutes).build()); } /** *

                                  * The network profile being used for a test run. *

                                  * * @param networkProfile * The network profile being used for a test run. * @return Returns a reference to this object so that method calls can be chained together. */ Builder networkProfile(NetworkProfile networkProfile); /** *

                                  * The network profile being used for a test run. *

                                  * This is a convenience that creates an instance of the {@link NetworkProfile.Builder} avoiding the need to * create one manually via {@link NetworkProfile#builder()}. * * When the {@link Consumer} completes, {@link NetworkProfile.Builder#build()} is called immediately and its * result is passed to {@link #networkProfile(NetworkProfile)}. * * @param networkProfile * a consumer that will call methods on {@link NetworkProfile.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #networkProfile(NetworkProfile) */ default Builder networkProfile(Consumer networkProfile) { return networkProfile(NetworkProfile.builder().applyMutation(networkProfile).build()); } /** *

                                  * Read-only URL for an object in an S3 bucket where you can get the parsing results of the test package. If the * test package doesn't parse, the reason why it doesn't parse appears in the file that this URL points to. *

                                  * * @param parsingResultUrl * Read-only URL for an object in an S3 bucket where you can get the parsing results of the test package. * If the test package doesn't parse, the reason why it doesn't parse appears in the file that this URL * points to. * @return Returns a reference to this object so that method calls can be chained together. */ Builder parsingResultUrl(String parsingResultUrl); /** *

                                  * Supporting field for the result field. Set only if result is SKIPPED. * PARSING_FAILED if the result is skipped because of test package parsing failure. *

                                  * * @param resultCode * Supporting field for the result field. Set only if result is SKIPPED. * PARSING_FAILED if the result is skipped because of test package parsing failure. * @see ExecutionResultCode * @return Returns a reference to this object so that method calls can be chained together. * @see ExecutionResultCode */ Builder resultCode(String resultCode); /** *

                                  * Supporting field for the result field. Set only if result is SKIPPED. * PARSING_FAILED if the result is skipped because of test package parsing failure. *

                                  * * @param resultCode * Supporting field for the result field. Set only if result is SKIPPED. * PARSING_FAILED if the result is skipped because of test package parsing failure. * @see ExecutionResultCode * @return Returns a reference to this object so that method calls can be chained together. * @see ExecutionResultCode */ Builder resultCode(ExecutionResultCode resultCode); /** *

                                  * For fuzz tests, this is a seed to use for randomizing the UI fuzz test. Using the same seed value between * tests ensures identical event sequences. *

                                  * * @param seed * For fuzz tests, this is a seed to use for randomizing the UI fuzz test. Using the same seed value * between tests ensures identical event sequences. * @return Returns a reference to this object so that method calls can be chained together. */ Builder seed(Integer seed); /** *

                                  * An app to upload or that has been uploaded. *

                                  * * @param appUpload * An app to upload or that has been uploaded. * @return Returns a reference to this object so that method calls can be chained together. */ Builder appUpload(String appUpload); /** *

                                  * For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform. *

                                  * * @param eventCount * For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should * perform. * @return Returns a reference to this object so that method calls can be chained together. */ Builder eventCount(Integer eventCount); /** *

                                  * The number of minutes the job executes before it times out. *

                                  * * @param jobTimeoutMinutes * The number of minutes the job executes before it times out. * @return Returns a reference to this object so that method calls can be chained together. */ Builder jobTimeoutMinutes(Integer jobTimeoutMinutes); /** *

                                  * The ARN of the device pool for the run. *

                                  * * @param devicePoolArn * The ARN of the device pool for the run. * @return Returns a reference to this object so that method calls can be chained together. */ Builder devicePoolArn(String devicePoolArn); /** *

                                  * Information about the locale that is used for the run. *

                                  * * @param locale * Information about the locale that is used for the run. * @return Returns a reference to this object so that method calls can be chained together. */ Builder locale(String locale); /** *

                                  * Information about the radio states for the run. *

                                  * * @param radios * Information about the radio states for the run. * @return Returns a reference to this object so that method calls can be chained together. */ Builder radios(Radios radios); /** *

                                  * Information about the radio states for the run. *

                                  * This is a convenience that creates an instance of the {@link Radios.Builder} avoiding the need to create one * manually via {@link Radios#builder()}. * * When the {@link Consumer} completes, {@link Radios.Builder#build()} is called immediately and its result is * passed to {@link #radios(Radios)}. * * @param radios * a consumer that will call methods on {@link Radios.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #radios(Radios) */ default Builder radios(Consumer radios) { return radios(Radios.builder().applyMutation(radios).build()); } /** *

                                  * Information about the location that is used for the run. *

                                  * * @param location * Information about the location that is used for the run. * @return Returns a reference to this object so that method calls can be chained together. */ Builder location(Location location); /** *

                                  * Information about the location that is used for the run. *

                                  * This is a convenience that creates an instance of the {@link Location.Builder} avoiding the need to create * one manually via {@link Location#builder()}. * * When the {@link Consumer} completes, {@link Location.Builder#build()} is called immediately and its result is * passed to {@link #location(Location)}. * * @param location * a consumer that will call methods on {@link Location.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #location(Location) */ default Builder location(Consumer location) { return location(Location.builder().applyMutation(location).build()); } /** *

                                  * Output CustomerArtifactPaths object for the test run. *

                                  * * @param customerArtifactPaths * Output CustomerArtifactPaths object for the test run. * @return Returns a reference to this object so that method calls can be chained together. */ Builder customerArtifactPaths(CustomerArtifactPaths customerArtifactPaths); /** *

                                  * Output CustomerArtifactPaths object for the test run. *

                                  * This is a convenience that creates an instance of the {@link CustomerArtifactPaths.Builder} avoiding the need * to create one manually via {@link CustomerArtifactPaths#builder()}. * * When the {@link Consumer} completes, {@link CustomerArtifactPaths.Builder#build()} is called immediately and * its result is passed to {@link #customerArtifactPaths(CustomerArtifactPaths)}. * * @param customerArtifactPaths * a consumer that will call methods on {@link CustomerArtifactPaths.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #customerArtifactPaths(CustomerArtifactPaths) */ default Builder customerArtifactPaths(Consumer customerArtifactPaths) { return customerArtifactPaths(CustomerArtifactPaths.builder().applyMutation(customerArtifactPaths).build()); } /** *

                                  * The Device Farm console URL for the recording of the run. *

                                  * * @param webUrl * The Device Farm console URL for the recording of the run. * @return Returns a reference to this object so that method calls can be chained together. */ Builder webUrl(String webUrl); /** *

                                  * When set to true, for private devices, Device Farm does not sign your app again. For public * devices, Device Farm always signs your apps again. *

                                  *

                                  * For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs. *

                                  * * @param skipAppResign * When set to true, for private devices, Device Farm does not sign your app again. For * public devices, Device Farm always signs your apps again.

                                  *

                                  * For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm * FAQs. * @return Returns a reference to this object so that method calls can be chained together. */ Builder skipAppResign(Boolean skipAppResign); /** *

                                  * The ARN of the YAML-formatted test specification for the run. *

                                  * * @param testSpecArn * The ARN of the YAML-formatted test specification for the run. * @return Returns a reference to this object so that method calls can be chained together. */ Builder testSpecArn(String testSpecArn); /** *

                                  * The results of a device filter used to select the devices for a test run. *

                                  * * @param deviceSelectionResult * The results of a device filter used to select the devices for a test run. * @return Returns a reference to this object so that method calls can be chained together. */ Builder deviceSelectionResult(DeviceSelectionResult deviceSelectionResult); /** *

                                  * The results of a device filter used to select the devices for a test run. *

                                  * This is a convenience that creates an instance of the {@link DeviceSelectionResult.Builder} avoiding the need * to create one manually via {@link DeviceSelectionResult#builder()}. * * When the {@link Consumer} completes, {@link DeviceSelectionResult.Builder#build()} is called immediately and * its result is passed to {@link #deviceSelectionResult(DeviceSelectionResult)}. * * @param deviceSelectionResult * a consumer that will call methods on {@link DeviceSelectionResult.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #deviceSelectionResult(DeviceSelectionResult) */ default Builder deviceSelectionResult(Consumer deviceSelectionResult) { return deviceSelectionResult(DeviceSelectionResult.builder().applyMutation(deviceSelectionResult).build()); } } static final class BuilderImpl implements Builder { private String arn; private String name; private String type; private String platform; private Instant created; private String status; private String result; private Instant started; private Instant stopped; private Counters counters; private String message; private Integer totalJobs; private Integer completedJobs; private String billingMethod; private DeviceMinutes deviceMinutes; private NetworkProfile networkProfile; private String parsingResultUrl; private String resultCode; private Integer seed; private String appUpload; private Integer eventCount; private Integer jobTimeoutMinutes; private String devicePoolArn; private String locale; private Radios radios; private Location location; private CustomerArtifactPaths customerArtifactPaths; private String webUrl; private Boolean skipAppResign; private String testSpecArn; private DeviceSelectionResult deviceSelectionResult; private BuilderImpl() { } private BuilderImpl(Run model) { arn(model.arn); name(model.name); type(model.type); platform(model.platform); created(model.created); status(model.status); result(model.result); started(model.started); stopped(model.stopped); counters(model.counters); message(model.message); totalJobs(model.totalJobs); completedJobs(model.completedJobs); billingMethod(model.billingMethod); deviceMinutes(model.deviceMinutes); networkProfile(model.networkProfile); parsingResultUrl(model.parsingResultUrl); resultCode(model.resultCode); seed(model.seed); appUpload(model.appUpload); eventCount(model.eventCount); jobTimeoutMinutes(model.jobTimeoutMinutes); devicePoolArn(model.devicePoolArn); locale(model.locale); radios(model.radios); location(model.location); customerArtifactPaths(model.customerArtifactPaths); webUrl(model.webUrl); skipAppResign(model.skipAppResign); testSpecArn(model.testSpecArn); deviceSelectionResult(model.deviceSelectionResult); } public final String getArn() { return arn; } public final void setArn(String arn) { this.arn = arn; } @Override @Transient public final Builder arn(String arn) { this.arn = arn; return this; } public final String getName() { return name; } public final void setName(String name) { this.name = name; } @Override @Transient public final Builder name(String name) { this.name = name; return this; } public final String getType() { return type; } public final void setType(String type) { this.type = type; } @Override @Transient public final Builder type(String type) { this.type = type; return this; } @Override @Transient public final Builder type(TestType type) { this.type(type == null ? null : type.toString()); return this; } public final String getPlatform() { return platform; } public final void setPlatform(String platform) { this.platform = platform; } @Override @Transient public final Builder platform(String platform) { this.platform = platform; return this; } @Override @Transient public final Builder platform(DevicePlatform platform) { this.platform(platform == null ? null : platform.toString()); return this; } public final Instant getCreated() { return created; } public final void setCreated(Instant created) { this.created = created; } @Override @Transient public final Builder created(Instant created) { this.created = created; return this; } public final String getStatus() { return status; } public final void setStatus(String status) { this.status = status; } @Override @Transient public final Builder status(String status) { this.status = status; return this; } @Override @Transient public final Builder status(ExecutionStatus status) { this.status(status == null ? null : status.toString()); return this; } public final String getResult() { return result; } public final void setResult(String result) { this.result = result; } @Override @Transient public final Builder result(String result) { this.result = result; return this; } @Override @Transient public final Builder result(ExecutionResult result) { this.result(result == null ? null : result.toString()); return this; } public final Instant getStarted() { return started; } public final void setStarted(Instant started) { this.started = started; } @Override @Transient public final Builder started(Instant started) { this.started = started; return this; } public final Instant getStopped() { return stopped; } public final void setStopped(Instant stopped) { this.stopped = stopped; } @Override @Transient public final Builder stopped(Instant stopped) { this.stopped = stopped; return this; } public final Counters.Builder getCounters() { return counters != null ? counters.toBuilder() : null; } public final void setCounters(Counters.BuilderImpl counters) { this.counters = counters != null ? counters.build() : null; } @Override @Transient public final Builder counters(Counters counters) { this.counters = counters; return this; } public final String getMessage() { return message; } public final void setMessage(String message) { this.message = message; } @Override @Transient public final Builder message(String message) { this.message = message; return this; } public final Integer getTotalJobs() { return totalJobs; } public final void setTotalJobs(Integer totalJobs) { this.totalJobs = totalJobs; } @Override @Transient public final Builder totalJobs(Integer totalJobs) { this.totalJobs = totalJobs; return this; } public final Integer getCompletedJobs() { return completedJobs; } public final void setCompletedJobs(Integer completedJobs) { this.completedJobs = completedJobs; } @Override @Transient public final Builder completedJobs(Integer completedJobs) { this.completedJobs = completedJobs; return this; } public final String getBillingMethod() { return billingMethod; } public final void setBillingMethod(String billingMethod) { this.billingMethod = billingMethod; } @Override @Transient public final Builder billingMethod(String billingMethod) { this.billingMethod = billingMethod; return this; } @Override @Transient public final Builder billingMethod(BillingMethod billingMethod) { this.billingMethod(billingMethod == null ? null : billingMethod.toString()); return this; } public final DeviceMinutes.Builder getDeviceMinutes() { return deviceMinutes != null ? deviceMinutes.toBuilder() : null; } public final void setDeviceMinutes(DeviceMinutes.BuilderImpl deviceMinutes) { this.deviceMinutes = deviceMinutes != null ? deviceMinutes.build() : null; } @Override @Transient public final Builder deviceMinutes(DeviceMinutes deviceMinutes) { this.deviceMinutes = deviceMinutes; return this; } public final NetworkProfile.Builder getNetworkProfile() { return networkProfile != null ? networkProfile.toBuilder() : null; } public final void setNetworkProfile(NetworkProfile.BuilderImpl networkProfile) { this.networkProfile = networkProfile != null ? networkProfile.build() : null; } @Override @Transient public final Builder networkProfile(NetworkProfile networkProfile) { this.networkProfile = networkProfile; return this; } public final String getParsingResultUrl() { return parsingResultUrl; } public final void setParsingResultUrl(String parsingResultUrl) { this.parsingResultUrl = parsingResultUrl; } @Override @Transient public final Builder parsingResultUrl(String parsingResultUrl) { this.parsingResultUrl = parsingResultUrl; return this; } public final String getResultCode() { return resultCode; } public final void setResultCode(String resultCode) { this.resultCode = resultCode; } @Override @Transient public final Builder resultCode(String resultCode) { this.resultCode = resultCode; return this; } @Override @Transient public final Builder resultCode(ExecutionResultCode resultCode) { this.resultCode(resultCode == null ? null : resultCode.toString()); return this; } public final Integer getSeed() { return seed; } public final void setSeed(Integer seed) { this.seed = seed; } @Override @Transient public final Builder seed(Integer seed) { this.seed = seed; return this; } public final String getAppUpload() { return appUpload; } public final void setAppUpload(String appUpload) { this.appUpload = appUpload; } @Override @Transient public final Builder appUpload(String appUpload) { this.appUpload = appUpload; return this; } public final Integer getEventCount() { return eventCount; } public final void setEventCount(Integer eventCount) { this.eventCount = eventCount; } @Override @Transient public final Builder eventCount(Integer eventCount) { this.eventCount = eventCount; return this; } public final Integer getJobTimeoutMinutes() { return jobTimeoutMinutes; } public final void setJobTimeoutMinutes(Integer jobTimeoutMinutes) { this.jobTimeoutMinutes = jobTimeoutMinutes; } @Override @Transient public final Builder jobTimeoutMinutes(Integer jobTimeoutMinutes) { this.jobTimeoutMinutes = jobTimeoutMinutes; return this; } public final String getDevicePoolArn() { return devicePoolArn; } public final void setDevicePoolArn(String devicePoolArn) { this.devicePoolArn = devicePoolArn; } @Override @Transient public final Builder devicePoolArn(String devicePoolArn) { this.devicePoolArn = devicePoolArn; return this; } public final String getLocale() { return locale; } public final void setLocale(String locale) { this.locale = locale; } @Override @Transient public final Builder locale(String locale) { this.locale = locale; return this; } public final Radios.Builder getRadios() { return radios != null ? radios.toBuilder() : null; } public final void setRadios(Radios.BuilderImpl radios) { this.radios = radios != null ? radios.build() : null; } @Override @Transient public final Builder radios(Radios radios) { this.radios = radios; return this; } public final Location.Builder getLocation() { return location != null ? location.toBuilder() : null; } public final void setLocation(Location.BuilderImpl location) { this.location = location != null ? location.build() : null; } @Override @Transient public final Builder location(Location location) { this.location = location; return this; } public final CustomerArtifactPaths.Builder getCustomerArtifactPaths() { return customerArtifactPaths != null ? customerArtifactPaths.toBuilder() : null; } public final void setCustomerArtifactPaths(CustomerArtifactPaths.BuilderImpl customerArtifactPaths) { this.customerArtifactPaths = customerArtifactPaths != null ? customerArtifactPaths.build() : null; } @Override @Transient public final Builder customerArtifactPaths(CustomerArtifactPaths customerArtifactPaths) { this.customerArtifactPaths = customerArtifactPaths; return this; } public final String getWebUrl() { return webUrl; } public final void setWebUrl(String webUrl) { this.webUrl = webUrl; } @Override @Transient public final Builder webUrl(String webUrl) { this.webUrl = webUrl; return this; } public final Boolean getSkipAppResign() { return skipAppResign; } public final void setSkipAppResign(Boolean skipAppResign) { this.skipAppResign = skipAppResign; } @Override @Transient public final Builder skipAppResign(Boolean skipAppResign) { this.skipAppResign = skipAppResign; return this; } public final String getTestSpecArn() { return testSpecArn; } public final void setTestSpecArn(String testSpecArn) { this.testSpecArn = testSpecArn; } @Override @Transient public final Builder testSpecArn(String testSpecArn) { this.testSpecArn = testSpecArn; return this; } public final DeviceSelectionResult.Builder getDeviceSelectionResult() { return deviceSelectionResult != null ? deviceSelectionResult.toBuilder() : null; } public final void setDeviceSelectionResult(DeviceSelectionResult.BuilderImpl deviceSelectionResult) { this.deviceSelectionResult = deviceSelectionResult != null ? deviceSelectionResult.build() : null; } @Override @Transient public final Builder deviceSelectionResult(DeviceSelectionResult deviceSelectionResult) { this.deviceSelectionResult = deviceSelectionResult; return this; } @Override public Run build() { return new Run(this); } @Override public List> sdkFields() { return SDK_FIELDS; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy