* A unique ID for tracking the progress of the instance refresh. *
*/ private String instanceRefreshId; /** ** A unique ID for tracking the progress of the instance refresh. *
* * @param instanceRefreshId * A unique ID for tracking the progress of the instance refresh. */ public void setInstanceRefreshId(String instanceRefreshId) { this.instanceRefreshId = instanceRefreshId; } /** ** A unique ID for tracking the progress of the instance refresh. *
* * @return A unique ID for tracking the progress of the instance refresh. */ public String getInstanceRefreshId() { return this.instanceRefreshId; } /** ** A unique ID for tracking the progress of the instance refresh. *
* * @param instanceRefreshId * A unique ID for tracking the progress of the instance refresh. * @return Returns a reference to this object so that method calls can be chained together. */ public StartInstanceRefreshResult withInstanceRefreshId(String instanceRefreshId) { setInstanceRefreshId(instanceRefreshId); 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 (getInstanceRefreshId() != null) sb.append("InstanceRefreshId: ").append(getInstanceRefreshId()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof StartInstanceRefreshResult == false) return false; StartInstanceRefreshResult other = (StartInstanceRefreshResult) obj; if (other.getInstanceRefreshId() == null ^ this.getInstanceRefreshId() == null) return false; if (other.getInstanceRefreshId() != null && other.getInstanceRefreshId().equals(this.getInstanceRefreshId()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getInstanceRefreshId() == null) ? 0 : getInstanceRefreshId().hashCode()); return hashCode; } @Override public StartInstanceRefreshResult clone() { try { return (StartInstanceRefreshResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }