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

        if (obj instanceof RedshiftConnectorProfileProperties == false)
            return false;
        RedshiftConnectorProfileProperties other = (RedshiftConnectorProfileProperties) obj;
        if (other.getDatabaseUrl() == null ^ this.getDatabaseUrl() == null)
            return false;
        if (other.getDatabaseUrl() != null && other.getDatabaseUrl().equals(this.getDatabaseUrl()) == false)
            return false;
        if (other.getBucketName() == null ^ this.getBucketName() == null)
            return false;
        if (other.getBucketName() != null && other.getBucketName().equals(this.getBucketName()) == false)
            return false;
        if (other.getBucketPrefix() == null ^ this.getBucketPrefix() == null)
            return false;
        if (other.getBucketPrefix() != null && other.getBucketPrefix().equals(this.getBucketPrefix()) == false)
            return false;
        if (other.getRoleArn() == null ^ this.getRoleArn() == null)
            return false;
        if (other.getRoleArn() != null && other.getRoleArn().equals(this.getRoleArn()) == false)
            return false;
        if (other.getDataApiRoleArn() == null ^ this.getDataApiRoleArn() == null)
            return false;
        if (other.getDataApiRoleArn() != null && other.getDataApiRoleArn().equals(this.getDataApiRoleArn()) == false)
            return false;
        if (other.getIsRedshiftServerless() == null ^ this.getIsRedshiftServerless() == null)
            return false;
        if (other.getIsRedshiftServerless() != null && other.getIsRedshiftServerless().equals(this.getIsRedshiftServerless()) == false)
            return false;
        if (other.getClusterIdentifier() == null ^ this.getClusterIdentifier() == null)
            return false;
        if (other.getClusterIdentifier() != null && other.getClusterIdentifier().equals(this.getClusterIdentifier()) == false)
            return false;
        if (other.getWorkgroupName() == null ^ this.getWorkgroupName() == null)
            return false;
        if (other.getWorkgroupName() != null && other.getWorkgroupName().equals(this.getWorkgroupName()) == false)
            return false;
        if (other.getDatabaseName() == null ^ this.getDatabaseName() == null)
            return false;
        if (other.getDatabaseName() != null && other.getDatabaseName().equals(this.getDatabaseName()) == 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-appflow/src/main/java/com/amazonaws/services/appflow/model/RedshiftConnectorProfileProperties.java