* The unique identifier of the test set generation. *
*/ private String testSetGenerationId; /** ** The status for the test set generation. *
*/ private String testSetGenerationStatus; /** ** The reasons the test set generation failed. *
*/ private java.util.List* The unique identifier for the test set created for the generated test set. *
*/ private String testSetId; /** ** The test set name for the generated test set. *
*/ private String testSetName; /** ** The test set description for the test set generation. *
*/ private String description; /** ** The Amazon S3 storage location for the test set generation. *
*/ private TestSetStorageLocation storageLocation; /** ** The data source of the test set used for the test set generation. *
*/ private TestSetGenerationDataSource generationDataSource; /** ** The roleARN of the test set used for the test set generation. *
*/ private String roleArn; /** ** The creation date and time for the test set generation. *
*/ private java.util.Date creationDateTime; /** ** The date and time of the last update for the test set generation. *
*/ private java.util.Date lastUpdatedDateTime; /** ** The unique identifier of the test set generation. *
* * @param testSetGenerationId * The unique identifier of the test set generation. */ public void setTestSetGenerationId(String testSetGenerationId) { this.testSetGenerationId = testSetGenerationId; } /** ** The unique identifier of the test set generation. *
* * @return The unique identifier of the test set generation. */ public String getTestSetGenerationId() { return this.testSetGenerationId; } /** ** The unique identifier of the test set generation. *
* * @param testSetGenerationId * The unique identifier of the test set generation. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTestSetGenerationResult withTestSetGenerationId(String testSetGenerationId) { setTestSetGenerationId(testSetGenerationId); return this; } /** ** The status for the test set generation. *
* * @param testSetGenerationStatus * The status for the test set generation. * @see TestSetGenerationStatus */ public void setTestSetGenerationStatus(String testSetGenerationStatus) { this.testSetGenerationStatus = testSetGenerationStatus; } /** ** The status for the test set generation. *
* * @return The status for the test set generation. * @see TestSetGenerationStatus */ public String getTestSetGenerationStatus() { return this.testSetGenerationStatus; } /** ** The status for the test set generation. *
* * @param testSetGenerationStatus * The status for the test set generation. * @return Returns a reference to this object so that method calls can be chained together. * @see TestSetGenerationStatus */ public DescribeTestSetGenerationResult withTestSetGenerationStatus(String testSetGenerationStatus) { setTestSetGenerationStatus(testSetGenerationStatus); return this; } /** ** The status for the test set generation. *
* * @param testSetGenerationStatus * The status for the test set generation. * @return Returns a reference to this object so that method calls can be chained together. * @see TestSetGenerationStatus */ public DescribeTestSetGenerationResult withTestSetGenerationStatus(TestSetGenerationStatus testSetGenerationStatus) { this.testSetGenerationStatus = testSetGenerationStatus.toString(); return this; } /** ** The reasons the test set generation failed. *
* * @return The reasons the test set generation failed. */ public java.util.List* The reasons the test set generation failed. *
* * @param failureReasons * The reasons the test set generation failed. */ public void setFailureReasons(java.util.Collection* The reasons the test set generation failed. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setFailureReasons(java.util.Collection)} or {@link #withFailureReasons(java.util.Collection)} if you want * to override the existing values. *
* * @param failureReasons * The reasons the test set generation failed. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTestSetGenerationResult withFailureReasons(String... failureReasons) { if (this.failureReasons == null) { setFailureReasons(new java.util.ArrayList* The reasons the test set generation failed. *
* * @param failureReasons * The reasons the test set generation failed. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTestSetGenerationResult withFailureReasons(java.util.Collection* The unique identifier for the test set created for the generated test set. *
* * @param testSetId * The unique identifier for the test set created for the generated test set. */ public void setTestSetId(String testSetId) { this.testSetId = testSetId; } /** ** The unique identifier for the test set created for the generated test set. *
* * @return The unique identifier for the test set created for the generated test set. */ public String getTestSetId() { return this.testSetId; } /** ** The unique identifier for the test set created for the generated test set. *
* * @param testSetId * The unique identifier for the test set created for the generated test set. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTestSetGenerationResult withTestSetId(String testSetId) { setTestSetId(testSetId); return this; } /** ** The test set name for the generated test set. *
* * @param testSetName * The test set name for the generated test set. */ public void setTestSetName(String testSetName) { this.testSetName = testSetName; } /** ** The test set name for the generated test set. *
* * @return The test set name for the generated test set. */ public String getTestSetName() { return this.testSetName; } /** ** The test set name for the generated test set. *
* * @param testSetName * The test set name for the generated test set. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTestSetGenerationResult withTestSetName(String testSetName) { setTestSetName(testSetName); return this; } /** ** The test set description for the test set generation. *
* * @param description * The test set description for the test set generation. */ public void setDescription(String description) { this.description = description; } /** ** The test set description for the test set generation. *
* * @return The test set description for the test set generation. */ public String getDescription() { return this.description; } /** ** The test set description for the test set generation. *
* * @param description * The test set description for the test set generation. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTestSetGenerationResult withDescription(String description) { setDescription(description); return this; } /** ** The Amazon S3 storage location for the test set generation. *
* * @param storageLocation * The Amazon S3 storage location for the test set generation. */ public void setStorageLocation(TestSetStorageLocation storageLocation) { this.storageLocation = storageLocation; } /** ** The Amazon S3 storage location for the test set generation. *
* * @return The Amazon S3 storage location for the test set generation. */ public TestSetStorageLocation getStorageLocation() { return this.storageLocation; } /** ** The Amazon S3 storage location for the test set generation. *
* * @param storageLocation * The Amazon S3 storage location for the test set generation. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTestSetGenerationResult withStorageLocation(TestSetStorageLocation storageLocation) { setStorageLocation(storageLocation); return this; } /** ** The data source of the test set used for the test set generation. *
* * @param generationDataSource * The data source of the test set used for the test set generation. */ public void setGenerationDataSource(TestSetGenerationDataSource generationDataSource) { this.generationDataSource = generationDataSource; } /** ** The data source of the test set used for the test set generation. *
* * @return The data source of the test set used for the test set generation. */ public TestSetGenerationDataSource getGenerationDataSource() { return this.generationDataSource; } /** ** The data source of the test set used for the test set generation. *
* * @param generationDataSource * The data source of the test set used for the test set generation. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTestSetGenerationResult withGenerationDataSource(TestSetGenerationDataSource generationDataSource) { setGenerationDataSource(generationDataSource); return this; } /** ** The roleARN of the test set used for the test set generation. *
* * @param roleArn * The roleARN of the test set used for the test set generation. */ public void setRoleArn(String roleArn) { this.roleArn = roleArn; } /** ** The roleARN of the test set used for the test set generation. *
* * @return The roleARN of the test set used for the test set generation. */ public String getRoleArn() { return this.roleArn; } /** ** The roleARN of the test set used for the test set generation. *
* * @param roleArn * The roleARN of the test set used for the test set generation. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTestSetGenerationResult withRoleArn(String roleArn) { setRoleArn(roleArn); return this; } /** ** The creation date and time for the test set generation. *
* * @param creationDateTime * The creation date and time for the test set generation. */ public void setCreationDateTime(java.util.Date creationDateTime) { this.creationDateTime = creationDateTime; } /** ** The creation date and time for the test set generation. *
* * @return The creation date and time for the test set generation. */ public java.util.Date getCreationDateTime() { return this.creationDateTime; } /** ** The creation date and time for the test set generation. *
* * @param creationDateTime * The creation date and time for the test set generation. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTestSetGenerationResult withCreationDateTime(java.util.Date creationDateTime) { setCreationDateTime(creationDateTime); return this; } /** ** The date and time of the last update for the test set generation. *
* * @param lastUpdatedDateTime * The date and time of the last update for the test set generation. */ public void setLastUpdatedDateTime(java.util.Date lastUpdatedDateTime) { this.lastUpdatedDateTime = lastUpdatedDateTime; } /** ** The date and time of the last update for the test set generation. *
* * @return The date and time of the last update for the test set generation. */ public java.util.Date getLastUpdatedDateTime() { return this.lastUpdatedDateTime; } /** ** The date and time of the last update for the test set generation. *
* * @param lastUpdatedDateTime * The date and time of the last update for the test set generation. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTestSetGenerationResult withLastUpdatedDateTime(java.util.Date lastUpdatedDateTime) { setLastUpdatedDateTime(lastUpdatedDateTime); 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 (getTestSetGenerationId() != null) sb.append("TestSetGenerationId: ").append(getTestSetGenerationId()).append(","); if (getTestSetGenerationStatus() != null) sb.append("TestSetGenerationStatus: ").append(getTestSetGenerationStatus()).append(","); if (getFailureReasons() != null) sb.append("FailureReasons: ").append(getFailureReasons()).append(","); if (getTestSetId() != null) sb.append("TestSetId: ").append(getTestSetId()).append(","); if (getTestSetName() != null) sb.append("TestSetName: ").append(getTestSetName()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getStorageLocation() != null) sb.append("StorageLocation: ").append(getStorageLocation()).append(","); if (getGenerationDataSource() != null) sb.append("GenerationDataSource: ").append(getGenerationDataSource()).append(","); if (getRoleArn() != null) sb.append("RoleArn: ").append(getRoleArn()).append(","); if (getCreationDateTime() != null) sb.append("CreationDateTime: ").append(getCreationDateTime()).append(","); if (getLastUpdatedDateTime() != null) sb.append("LastUpdatedDateTime: ").append(getLastUpdatedDateTime()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeTestSetGenerationResult == false) return false; DescribeTestSetGenerationResult other = (DescribeTestSetGenerationResult) obj; if (other.getTestSetGenerationId() == null ^ this.getTestSetGenerationId() == null) return false; if (other.getTestSetGenerationId() != null && other.getTestSetGenerationId().equals(this.getTestSetGenerationId()) == false) return false; if (other.getTestSetGenerationStatus() == null ^ this.getTestSetGenerationStatus() == null) return false; if (other.getTestSetGenerationStatus() != null && other.getTestSetGenerationStatus().equals(this.getTestSetGenerationStatus()) == false) return false; if (other.getFailureReasons() == null ^ this.getFailureReasons() == null) return false; if (other.getFailureReasons() != null && other.getFailureReasons().equals(this.getFailureReasons()) == false) return false; if (other.getTestSetId() == null ^ this.getTestSetId() == null) return false; if (other.getTestSetId() != null && other.getTestSetId().equals(this.getTestSetId()) == false) return false; if (other.getTestSetName() == null ^ this.getTestSetName() == null) return false; if (other.getTestSetName() != null && other.getTestSetName().equals(this.getTestSetName()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getStorageLocation() == null ^ this.getStorageLocation() == null) return false; if (other.getStorageLocation() != null && other.getStorageLocation().equals(this.getStorageLocation()) == false) return false; if (other.getGenerationDataSource() == null ^ this.getGenerationDataSource() == null) return false; if (other.getGenerationDataSource() != null && other.getGenerationDataSource().equals(this.getGenerationDataSource()) == false) return false; if (other.getRoleArn() == null ^ this.getRoleArn() == null) return false; if (other.getRoleArn() != null && other.getRoleArn().equals(this.getRoleArn()) == false) return false; if (other.getCreationDateTime() == null ^ this.getCreationDateTime() == null) return false; if (other.getCreationDateTime() != null && other.getCreationDateTime().equals(this.getCreationDateTime()) == false) return false; if (other.getLastUpdatedDateTime() == null ^ this.getLastUpdatedDateTime() == null) return false; if (other.getLastUpdatedDateTime() != null && other.getLastUpdatedDateTime().equals(this.getLastUpdatedDateTime()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getTestSetGenerationId() == null) ? 0 : getTestSetGenerationId().hashCode()); hashCode = prime * hashCode + ((getTestSetGenerationStatus() == null) ? 0 : getTestSetGenerationStatus().hashCode()); hashCode = prime * hashCode + ((getFailureReasons() == null) ? 0 : getFailureReasons().hashCode()); hashCode = prime * hashCode + ((getTestSetId() == null) ? 0 : getTestSetId().hashCode()); hashCode = prime * hashCode + ((getTestSetName() == null) ? 0 : getTestSetName().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getStorageLocation() == null) ? 0 : getStorageLocation().hashCode()); hashCode = prime * hashCode + ((getGenerationDataSource() == null) ? 0 : getGenerationDataSource().hashCode()); hashCode = prime * hashCode + ((getRoleArn() == null) ? 0 : getRoleArn().hashCode()); hashCode = prime * hashCode + ((getCreationDateTime() == null) ? 0 : getCreationDateTime().hashCode()); hashCode = prime * hashCode + ((getLastUpdatedDateTime() == null) ? 0 : getLastUpdatedDateTime().hashCode()); return hashCode; } @Override public DescribeTestSetGenerationResult clone() { try { return (DescribeTestSetGenerationResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }