/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.devicefarm.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

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

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Run implements Serializable, Cloneable, StructuredPojo { /** *

* The run's ARN. *

*/ private String arn; /** *

* The run's name. *

*/ private String name; /** *

* The run's type. *

*

* Must be one of the following values: *

* */ private String type; /** *

* The run's platform. *

*

* Allowed values include: *

* */ private String platform; /** *

* When the run was created. *

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

* The run's status. *

*

* Allowed values include: *

* */ private String status; /** *

* The run's result. *

*

* Allowed values include: *

* */ private String result; /** *

* The run's start time. *

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

* The run's stop time. *

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

* The run's result counters. *

*/ private Counters counters; /** *

* A message about the run's result. *

*/ private String message; /** *

* The total number of jobs for the run. *

*/ private Integer totalJobs; /** *

* The total number of completed jobs. *

*/ private Integer completedJobs; /** *

* Specifies the billing method for a test run: metered or unmetered. If the parameter is * not specified, the default value is 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. *

*
*/ private String billingMethod; /** *

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

*/ private DeviceMinutes deviceMinutes; /** *

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

*/ private NetworkProfile 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. *

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

*/ private String 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. *

*/ private Integer seed; /** *

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

*/ private String appUpload; /** *

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

*/ private Integer eventCount; /** *

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

*/ private Integer jobTimeoutMinutes; /** *

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

*/ private String devicePoolArn; /** *

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

*/ private String locale; /** *

* Information about the radio states for the run. *

*/ private Radios radios; /** *

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

*/ private Location location; /** *

* Output CustomerArtifactPaths object for the test run. *

*/ private CustomerArtifactPaths customerArtifactPaths; /** *

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

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

*/ private Boolean skipAppResign; /** *

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

*/ private String testSpecArn; /** *

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

*/ private DeviceSelectionResult deviceSelectionResult; /** *

* The VPC security groups and subnets that are attached to a project. *

*/ private VpcConfig vpcConfig; /** *

* The run's ARN. *

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

* The run's ARN. *

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

* The run's ARN. *

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

* The run's name. *

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

* The run's name. *

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

* The run's name. *

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

* The run's type. *

*

* Must be one of the following values: *

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

*

* Must be one of the following values: *

*