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