* The job's ID. *
*/ private String id; /** ** The read set's sequence store ID. *
*/ private String sequenceStoreId; /** ** The job's status. *
*/ private String status; /** ** When the job was created. *
*/ private java.util.Date creationTime; /** ** The job's ID. *
* * @param id * The job's ID. */ public void setId(String id) { this.id = id; } /** ** The job's ID. *
* * @return The job's ID. */ public String getId() { return this.id; } /** ** The job's ID. *
* * @param id * The job's ID. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReadSetActivationJobResult withId(String id) { setId(id); return this; } /** ** The read set's sequence store ID. *
* * @param sequenceStoreId * The read set's sequence store ID. */ public void setSequenceStoreId(String sequenceStoreId) { this.sequenceStoreId = sequenceStoreId; } /** ** The read set's sequence store ID. *
* * @return The read set's sequence store ID. */ public String getSequenceStoreId() { return this.sequenceStoreId; } /** ** The read set's sequence store ID. *
* * @param sequenceStoreId * The read set's sequence store ID. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReadSetActivationJobResult withSequenceStoreId(String sequenceStoreId) { setSequenceStoreId(sequenceStoreId); return this; } /** ** The job's status. *
* * @param status * The job's status. * @see ReadSetActivationJobStatus */ public void setStatus(String status) { this.status = status; } /** ** The job's status. *
* * @return The job's status. * @see ReadSetActivationJobStatus */ public String getStatus() { return this.status; } /** ** The job's status. *
* * @param status * The job's status. * @return Returns a reference to this object so that method calls can be chained together. * @see ReadSetActivationJobStatus */ public StartReadSetActivationJobResult withStatus(String status) { setStatus(status); return this; } /** ** The job's status. *
* * @param status * The job's status. * @return Returns a reference to this object so that method calls can be chained together. * @see ReadSetActivationJobStatus */ public StartReadSetActivationJobResult withStatus(ReadSetActivationJobStatus status) { this.status = status.toString(); return this; } /** ** When the job was created. *
* * @param creationTime * When the job was created. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** ** When the job was created. *
* * @return When the job was created. */ public java.util.Date getCreationTime() { return this.creationTime; } /** ** When the job was created. *
* * @param creationTime * When the job was created. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReadSetActivationJobResult withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); 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 (getId() != null) sb.append("Id: ").append(getId()).append(","); if (getSequenceStoreId() != null) sb.append("SequenceStoreId: ").append(getSequenceStoreId()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getCreationTime() != null) sb.append("CreationTime: ").append(getCreationTime()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof StartReadSetActivationJobResult == false) return false; StartReadSetActivationJobResult other = (StartReadSetActivationJobResult) obj; if (other.getId() == null ^ this.getId() == null) return false; if (other.getId() != null && other.getId().equals(this.getId()) == false) return false; if (other.getSequenceStoreId() == null ^ this.getSequenceStoreId() == null) return false; if (other.getSequenceStoreId() != null && other.getSequenceStoreId().equals(this.getSequenceStoreId()) == 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; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode()); hashCode = prime * hashCode + ((getSequenceStoreId() == null) ? 0 : getSequenceStoreId().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); return hashCode; } @Override public StartReadSetActivationJobResult clone() { try { return (StartReadSetActivationJobResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }