* The generated, encrypted API key. You can copy this for use in your JavaScript CAPTCHA integration. *
*/ private String aPIKey; /** ** The generated, encrypted API key. You can copy this for use in your JavaScript CAPTCHA integration. *
* * @param aPIKey * The generated, encrypted API key. You can copy this for use in your JavaScript CAPTCHA integration. */ public void setAPIKey(String aPIKey) { this.aPIKey = aPIKey; } /** ** The generated, encrypted API key. You can copy this for use in your JavaScript CAPTCHA integration. *
* * @return The generated, encrypted API key. You can copy this for use in your JavaScript CAPTCHA integration. */ public String getAPIKey() { return this.aPIKey; } /** ** The generated, encrypted API key. You can copy this for use in your JavaScript CAPTCHA integration. *
* * @param aPIKey * The generated, encrypted API key. You can copy this for use in your JavaScript CAPTCHA integration. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateAPIKeyResult withAPIKey(String aPIKey) { setAPIKey(aPIKey); 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 (getAPIKey() != null) sb.append("APIKey: ").append(getAPIKey()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreateAPIKeyResult == false) return false; CreateAPIKeyResult other = (CreateAPIKeyResult) obj; if (other.getAPIKey() == null ^ this.getAPIKey() == null) return false; if (other.getAPIKey() != null && other.getAPIKey().equals(this.getAPIKey()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAPIKey() == null) ? 0 : getAPIKey().hashCode()); return hashCode; } @Override public CreateAPIKeyResult clone() { try { return (CreateAPIKeyResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }