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

com.amazonaws.services.apptest.model.TestSuiteSummary Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Mainframe Modernization Application Testing module holds the client classes that are used for communicating with AWS Mainframe Modernization Application Testing Service

There is a newer version: 1.12.778
Show newest version
/*
 * Copyright 2019-2024 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.apptest.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* Specifies the test suite summary. *

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

* The test suite ID of the test suite summary. *

*/ private String testSuiteId; /** *

* The name of the test suite summary. *

*/ private String name; /** *

* The status reason of the test suite summary. *

*/ private String statusReason; /** *

* The latest version of the test suite summary. *

*/ private Integer latestVersion; /** *

* The test suite Amazon Resource Name (ARN) of the test suite summary. *

*/ private String testSuiteArn; /** *

* The status of the test suite summary. *

*/ private String status; /** *

* The creation time of the test suite summary. *

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

* The last update time of the test suite summary. *

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

* The test suite ID of the test suite summary. *

* * @param testSuiteId * The test suite ID of the test suite summary. */ public void setTestSuiteId(String testSuiteId) { this.testSuiteId = testSuiteId; } /** *

* The test suite ID of the test suite summary. *

* * @return The test suite ID of the test suite summary. */ public String getTestSuiteId() { return this.testSuiteId; } /** *

* The test suite ID of the test suite summary. *

* * @param testSuiteId * The test suite ID of the test suite summary. * @return Returns a reference to this object so that method calls can be chained together. */ public TestSuiteSummary withTestSuiteId(String testSuiteId) { setTestSuiteId(testSuiteId); return this; } /** *

* The name of the test suite summary. *

* * @param name * The name of the test suite summary. */ public void setName(String name) { this.name = name; } /** *

* The name of the test suite summary. *

* * @return The name of the test suite summary. */ public String getName() { return this.name; } /** *

* The name of the test suite summary. *

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

* The status reason of the test suite summary. *

* * @param statusReason * The status reason of the test suite summary. */ public void setStatusReason(String statusReason) { this.statusReason = statusReason; } /** *

* The status reason of the test suite summary. *

* * @return The status reason of the test suite summary. */ public String getStatusReason() { return this.statusReason; } /** *

* The status reason of the test suite summary. *

* * @param statusReason * The status reason of the test suite summary. * @return Returns a reference to this object so that method calls can be chained together. */ public TestSuiteSummary withStatusReason(String statusReason) { setStatusReason(statusReason); return this; } /** *

* The latest version of the test suite summary. *

* * @param latestVersion * The latest version of the test suite summary. */ public void setLatestVersion(Integer latestVersion) { this.latestVersion = latestVersion; } /** *

* The latest version of the test suite summary. *

* * @return The latest version of the test suite summary. */ public Integer getLatestVersion() { return this.latestVersion; } /** *

* The latest version of the test suite summary. *

* * @param latestVersion * The latest version of the test suite summary. * @return Returns a reference to this object so that method calls can be chained together. */ public TestSuiteSummary withLatestVersion(Integer latestVersion) { setLatestVersion(latestVersion); return this; } /** *

* The test suite Amazon Resource Name (ARN) of the test suite summary. *

* * @param testSuiteArn * The test suite Amazon Resource Name (ARN) of the test suite summary. */ public void setTestSuiteArn(String testSuiteArn) { this.testSuiteArn = testSuiteArn; } /** *

* The test suite Amazon Resource Name (ARN) of the test suite summary. *

* * @return The test suite Amazon Resource Name (ARN) of the test suite summary. */ public String getTestSuiteArn() { return this.testSuiteArn; } /** *

* The test suite Amazon Resource Name (ARN) of the test suite summary. *

* * @param testSuiteArn * The test suite Amazon Resource Name (ARN) of the test suite summary. * @return Returns a reference to this object so that method calls can be chained together. */ public TestSuiteSummary withTestSuiteArn(String testSuiteArn) { setTestSuiteArn(testSuiteArn); return this; } /** *

* The status of the test suite summary. *

* * @param status * The status of the test suite summary. * @see TestSuiteLifecycle */ public void setStatus(String status) { this.status = status; } /** *

* The status of the test suite summary. *

* * @return The status of the test suite summary. * @see TestSuiteLifecycle */ public String getStatus() { return this.status; } /** *

* The status of the test suite summary. *

* * @param status * The status of the test suite summary. * @return Returns a reference to this object so that method calls can be chained together. * @see TestSuiteLifecycle */ public TestSuiteSummary withStatus(String status) { setStatus(status); return this; } /** *

* The status of the test suite summary. *

* * @param status * The status of the test suite summary. * @return Returns a reference to this object so that method calls can be chained together. * @see TestSuiteLifecycle */ public TestSuiteSummary withStatus(TestSuiteLifecycle status) { this.status = status.toString(); return this; } /** *

* The creation time of the test suite summary. *

* * @param creationTime * The creation time of the test suite summary. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** *

* The creation time of the test suite summary. *

* * @return The creation time of the test suite summary. */ public java.util.Date getCreationTime() { return this.creationTime; } /** *

* The creation time of the test suite summary. *

* * @param creationTime * The creation time of the test suite summary. * @return Returns a reference to this object so that method calls can be chained together. */ public TestSuiteSummary withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** *

* The last update time of the test suite summary. *

* * @param lastUpdateTime * The last update time of the test suite summary. */ public void setLastUpdateTime(java.util.Date lastUpdateTime) { this.lastUpdateTime = lastUpdateTime; } /** *

* The last update time of the test suite summary. *

* * @return The last update time of the test suite summary. */ public java.util.Date getLastUpdateTime() { return this.lastUpdateTime; } /** *

* The last update time of the test suite summary. *

* * @param lastUpdateTime * The last update time of the test suite summary. * @return Returns a reference to this object so that method calls can be chained together. */ public TestSuiteSummary withLastUpdateTime(java.util.Date lastUpdateTime) { setLastUpdateTime(lastUpdateTime); return this; } /** * 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. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getTestSuiteId() != null) sb.append("TestSuiteId: ").append(getTestSuiteId()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getStatusReason() != null) sb.append("StatusReason: ").append(getStatusReason()).append(","); if (getLatestVersion() != null) sb.append("LatestVersion: ").append(getLatestVersion()).append(","); if (getTestSuiteArn() != null) sb.append("TestSuiteArn: ").append(getTestSuiteArn()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getCreationTime() != null) sb.append("CreationTime: ").append(getCreationTime()).append(","); if (getLastUpdateTime() != null) sb.append("LastUpdateTime: ").append(getLastUpdateTime()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof TestSuiteSummary == false) return false; TestSuiteSummary other = (TestSuiteSummary) obj; if (other.getTestSuiteId() == null ^ this.getTestSuiteId() == null) return false; if (other.getTestSuiteId() != null && other.getTestSuiteId().equals(this.getTestSuiteId()) == false) return false; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getStatusReason() == null ^ this.getStatusReason() == null) return false; if (other.getStatusReason() != null && other.getStatusReason().equals(this.getStatusReason()) == false) return false; if (other.getLatestVersion() == null ^ this.getLatestVersion() == null) return false; if (other.getLatestVersion() != null && other.getLatestVersion().equals(this.getLatestVersion()) == false) return false; if (other.getTestSuiteArn() == null ^ this.getTestSuiteArn() == null) return false; if (other.getTestSuiteArn() != null && other.getTestSuiteArn().equals(this.getTestSuiteArn()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getCreationTime() == null ^ this.getCreationTime() == null) return false; if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false) return false; if (other.getLastUpdateTime() == null ^ this.getLastUpdateTime() == null) return false; if (other.getLastUpdateTime() != null && other.getLastUpdateTime().equals(this.getLastUpdateTime()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getTestSuiteId() == null) ? 0 : getTestSuiteId().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getStatusReason() == null) ? 0 : getStatusReason().hashCode()); hashCode = prime * hashCode + ((getLatestVersion() == null) ? 0 : getLatestVersion().hashCode()); hashCode = prime * hashCode + ((getTestSuiteArn() == null) ? 0 : getTestSuiteArn().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); hashCode = prime * hashCode + ((getLastUpdateTime() == null) ? 0 : getLastUpdateTime().hashCode()); return hashCode; } @Override public TestSuiteSummary clone() { try { return (TestSuiteSummary) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.apptest.model.transform.TestSuiteSummaryMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy