* Information about the specified fraudster. *
*/ private Fraudster fraudster; /** ** Information about the specified fraudster. *
* * @param fraudster * Information about the specified fraudster. */ public void setFraudster(Fraudster fraudster) { this.fraudster = fraudster; } /** ** Information about the specified fraudster. *
* * @return Information about the specified fraudster. */ public Fraudster getFraudster() { return this.fraudster; } /** ** Information about the specified fraudster. *
* * @param fraudster * Information about the specified fraudster. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeFraudsterResult withFraudster(Fraudster fraudster) { setFraudster(fraudster); 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 (getFraudster() != null) sb.append("Fraudster: ").append(getFraudster()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeFraudsterResult == false) return false; DescribeFraudsterResult other = (DescribeFraudsterResult) obj; if (other.getFraudster() == null ^ this.getFraudster() == null) return false; if (other.getFraudster() != null && other.getFraudster().equals(this.getFraudster()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getFraudster() == null) ? 0 : getFraudster().hashCode()); return hashCode; } @Override public DescribeFraudsterResult clone() { try { return (DescribeFraudsterResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }