/* * 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 collection of one or more tests. *

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

* The suite's ARN. *

*/ private String arn; /** *

* The suite's name. *

*/ private String name; /** *

* The suite's type. *

*

* Must be one of the following values: *

* */ private String type; /** *

* When the suite was created. *

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

* The suite's status. *

*

* Allowed values include: *

* */ private String status; /** *

* The suite's result. *

*

* Allowed values include: *

* */ private String result; /** *

* The suite's start time. *

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

* The suite's stop time. *

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

* The suite's result counters. *

*/ private Counters counters; /** *

* A message about the suite's result. *

*/ private String message; /** *

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

*/ private DeviceMinutes deviceMinutes; /** *

* The suite's ARN. *

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

* The suite's ARN. *

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

* The suite's ARN. *

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

* The suite's name. *

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

* The suite's name. *

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

* The suite's name. *

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

* The suite's type. *

*

* Must be one of the following values: *

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

*

* Must be one of the following values: *

*