* The Amazon Resource Name (ARN) of the created schema. *
*/ private String schemaArn; /** ** The Amazon Resource Name (ARN) of the created schema. *
* * @param schemaArn * The Amazon Resource Name (ARN) of the created schema. */ public void setSchemaArn(String schemaArn) { this.schemaArn = schemaArn; } /** ** The Amazon Resource Name (ARN) of the created schema. *
* * @return The Amazon Resource Name (ARN) of the created schema. */ public String getSchemaArn() { return this.schemaArn; } /** ** The Amazon Resource Name (ARN) of the created schema. *
* * @param schemaArn * The Amazon Resource Name (ARN) of the created schema. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSchemaResult withSchemaArn(String schemaArn) { setSchemaArn(schemaArn); 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 (getSchemaArn() != null) sb.append("SchemaArn: ").append(getSchemaArn()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreateSchemaResult == false) return false; CreateSchemaResult other = (CreateSchemaResult) obj; if (other.getSchemaArn() == null ^ this.getSchemaArn() == null) return false; if (other.getSchemaArn() != null && other.getSchemaArn().equals(this.getSchemaArn()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getSchemaArn() == null) ? 0 : getSchemaArn().hashCode()); return hashCode; } @Override public CreateSchemaResult clone() { try { return (CreateSchemaResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }