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

        if (obj instanceof DestinationDescription == false)
            return false;
        DestinationDescription other = (DestinationDescription) obj;
        if (other.getDestinationId() == null ^ this.getDestinationId() == null)
            return false;
        if (other.getDestinationId() != null && other.getDestinationId().equals(this.getDestinationId()) == false)
            return false;
        if (other.getS3DestinationDescription() == null ^ this.getS3DestinationDescription() == null)
            return false;
        if (other.getS3DestinationDescription() != null && other.getS3DestinationDescription().equals(this.getS3DestinationDescription()) == false)
            return false;
        if (other.getExtendedS3DestinationDescription() == null ^ this.getExtendedS3DestinationDescription() == null)
            return false;
        if (other.getExtendedS3DestinationDescription() != null
                && other.getExtendedS3DestinationDescription().equals(this.getExtendedS3DestinationDescription()) == false)
            return false;
        if (other.getRedshiftDestinationDescription() == null ^ this.getRedshiftDestinationDescription() == null)
            return false;
        if (other.getRedshiftDestinationDescription() != null
                && other.getRedshiftDestinationDescription().equals(this.getRedshiftDestinationDescription()) == false)
            return false;
        if (other.getElasticsearchDestinationDescription() == null ^ this.getElasticsearchDestinationDescription() == null)
            return false;
        if (other.getElasticsearchDestinationDescription() != null
                && other.getElasticsearchDestinationDescription().equals(this.getElasticsearchDestinationDescription()) == false)
            return false;
        if (other.getAmazonopensearchserviceDestinationDescription() == null ^ this.getAmazonopensearchserviceDestinationDescription() == null)
            return false;
        if (other.getAmazonopensearchserviceDestinationDescription() != null
                && other.getAmazonopensearchserviceDestinationDescription().equals(this.getAmazonopensearchserviceDestinationDescription()) == false)
            return false;
        if (other.getSplunkDestinationDescription() == null ^ this.getSplunkDestinationDescription() == null)
            return false;
        if (other.getSplunkDestinationDescription() != null && other.getSplunkDestinationDescription().equals(this.getSplunkDestinationDescription()) == false)
            return false;
        if (other.getHttpEndpointDestinationDescription() == null ^ this.getHttpEndpointDestinationDescription() == null)
            return false;
        if (other.getHttpEndpointDestinationDescription() != null
                && other.getHttpEndpointDestinationDescription().equals(this.getHttpEndpointDestinationDescription()) == false)
            return false;
        if (other.getSnowflakeDestinationDescription() == null ^ this.getSnowflakeDestinationDescription() == null)
            return false;
        if (other.getSnowflakeDestinationDescription() != null
                && other.getSnowflakeDestinationDescription().equals(this.getSnowflakeDestinationDescription()) == false)
            return false;
        if (other.getAmazonOpenSearchServerlessDestinationDescription() == null ^ this.getAmazonOpenSearchServerlessDestinationDescription() == null)
            return false;
        if (other.getAmazonOpenSearchServerlessDestinationDescription() != null
                && other.getAmazonOpenSearchServerlessDestinationDescription().equals(this.getAmazonOpenSearchServerlessDestinationDescription()) == false)
            return false;
        if (other.getIcebergDestinationDescription() == null ^ this.getIcebergDestinationDescription() == null)
            return false;
        if (other.getIcebergDestinationDescription() != null
                && other.getIcebergDestinationDescription().equals(this.getIcebergDestinationDescription()) == 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-kinesis/src/main/java/com/amazonaws/services/kinesisfirehose/model/DestinationDescription.java