* The updated workload or custom lens share invitation. *
*/ private ShareInvitation shareInvitation; /** ** The updated workload or custom lens share invitation. *
* * @param shareInvitation * The updated workload or custom lens share invitation. */ public void setShareInvitation(ShareInvitation shareInvitation) { this.shareInvitation = shareInvitation; } /** ** The updated workload or custom lens share invitation. *
* * @return The updated workload or custom lens share invitation. */ public ShareInvitation getShareInvitation() { return this.shareInvitation; } /** ** The updated workload or custom lens share invitation. *
* * @param shareInvitation * The updated workload or custom lens share invitation. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateShareInvitationResult withShareInvitation(ShareInvitation shareInvitation) { setShareInvitation(shareInvitation); 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 (getShareInvitation() != null) sb.append("ShareInvitation: ").append(getShareInvitation()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateShareInvitationResult == false) return false; UpdateShareInvitationResult other = (UpdateShareInvitationResult) obj; if (other.getShareInvitation() == null ^ this.getShareInvitation() == null) return false; if (other.getShareInvitation() != null && other.getShareInvitation().equals(this.getShareInvitation()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getShareInvitation() == null) ? 0 : getShareInvitation().hashCode()); return hashCode; } @Override public UpdateShareInvitationResult clone() { try { return (UpdateShareInvitationResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }