* A timestamp that indicates when the experiment started. *
*/ private java.util.Date startedTime; /** ** A timestamp that indicates when the experiment started. *
* * @param startedTime * A timestamp that indicates when the experiment started. */ public void setStartedTime(java.util.Date startedTime) { this.startedTime = startedTime; } /** ** A timestamp that indicates when the experiment started. *
* * @return A timestamp that indicates when the experiment started. */ public java.util.Date getStartedTime() { return this.startedTime; } /** ** A timestamp that indicates when the experiment started. *
* * @param startedTime * A timestamp that indicates when the experiment started. * @return Returns a reference to this object so that method calls can be chained together. */ public StartExperimentResult withStartedTime(java.util.Date startedTime) { setStartedTime(startedTime); 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 (getStartedTime() != null) sb.append("StartedTime: ").append(getStartedTime()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof StartExperimentResult == false) return false; StartExperimentResult other = (StartExperimentResult) obj; if (other.getStartedTime() == null ^ this.getStartedTime() == null) return false; if (other.getStartedTime() != null && other.getStartedTime().equals(this.getStartedTime()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getStartedTime() == null) ? 0 : getStartedTime().hashCode()); return hashCode; } @Override public StartExperimentResult clone() { try { return (StartExperimentResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }