* The updated resource query associated with the resource group after the update. *
*/ private GroupQuery groupQuery; /** ** The updated resource query associated with the resource group after the update. *
* * @param groupQuery * The updated resource query associated with the resource group after the update. */ public void setGroupQuery(GroupQuery groupQuery) { this.groupQuery = groupQuery; } /** ** The updated resource query associated with the resource group after the update. *
* * @return The updated resource query associated with the resource group after the update. */ public GroupQuery getGroupQuery() { return this.groupQuery; } /** ** The updated resource query associated with the resource group after the update. *
* * @param groupQuery * The updated resource query associated with the resource group after the update. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateGroupQueryResult withGroupQuery(GroupQuery groupQuery) { setGroupQuery(groupQuery); 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 (getGroupQuery() != null) sb.append("GroupQuery: ").append(getGroupQuery()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateGroupQueryResult == false) return false; UpdateGroupQueryResult other = (UpdateGroupQueryResult) obj; if (other.getGroupQuery() == null ^ this.getGroupQuery() == null) return false; if (other.getGroupQuery() != null && other.getGroupQuery().equals(this.getGroupQuery()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getGroupQuery() == null) ? 0 : getGroupQuery().hashCode()); return hashCode; } @Override public UpdateGroupQueryResult clone() { try { return (UpdateGroupQueryResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }