@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof RedshiftMetadata == false)
            return false;
        RedshiftMetadata other = (RedshiftMetadata) obj;
        if (other.getRedshiftDatabase() == null ^ this.getRedshiftDatabase() == null)
            return false;
        if (other.getRedshiftDatabase() != null && other.getRedshiftDatabase().equals(this.getRedshiftDatabase()) == false)
            return false;
        if (other.getDatabaseUserName() == null ^ this.getDatabaseUserName() == null)
            return false;
        if (other.getDatabaseUserName() != null && other.getDatabaseUserName().equals(this.getDatabaseUserName()) == false)
            return false;
        if (other.getSelectSqlQuery() == null ^ this.getSelectSqlQuery() == null)
            return false;
        if (other.getSelectSqlQuery() != null && other.getSelectSqlQuery().equals(this.getSelectSqlQuery()) == false)
            return false;
        return true;
    }
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()
aws-java-sdk-machinelearning/src/main/java/com/amazonaws/services/machinelearning/model/RedshiftMetadata.java