* Acknowledgement of the state change. *
*/ private String acknowledgment; /** ** Acknowledgement of the state change. *
* * @param acknowledgment * Acknowledgement of the state change. */ public void setAcknowledgment(String acknowledgment) { this.acknowledgment = acknowledgment; } /** ** Acknowledgement of the state change. *
* * @return Acknowledgement of the state change. */ public String getAcknowledgment() { return this.acknowledgment; } /** ** Acknowledgement of the state change. *
* * @param acknowledgment * Acknowledgement of the state change. * @return Returns a reference to this object so that method calls can be chained together. */ public SubmitAttachmentStateChangesResult withAcknowledgment(String acknowledgment) { setAcknowledgment(acknowledgment); 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 (getAcknowledgment() != null) sb.append("Acknowledgment: ").append(getAcknowledgment()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof SubmitAttachmentStateChangesResult == false) return false; SubmitAttachmentStateChangesResult other = (SubmitAttachmentStateChangesResult) obj; if (other.getAcknowledgment() == null ^ this.getAcknowledgment() == null) return false; if (other.getAcknowledgment() != null && other.getAcknowledgment().equals(this.getAcknowledgment()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAcknowledgment() == null) ? 0 : getAcknowledgment().hashCode()); return hashCode; } @Override public SubmitAttachmentStateChangesResult clone() { try { return (SubmitAttachmentStateChangesResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }