@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getDestinationId() != null)
            sb.append("DestinationId: ").append(getDestinationId()).append(",");
        if (getS3DestinationDescription() != null)
            sb.append("S3DestinationDescription: ").append(getS3DestinationDescription()).append(",");
        if (getExtendedS3DestinationDescription() != null)
            sb.append("ExtendedS3DestinationDescription: ").append(getExtendedS3DestinationDescription()).append(",");
        if (getRedshiftDestinationDescription() != null)
            sb.append("RedshiftDestinationDescription: ").append(getRedshiftDestinationDescription()).append(",");
        if (getElasticsearchDestinationDescription() != null)
            sb.append("ElasticsearchDestinationDescription: ").append(getElasticsearchDestinationDescription()).append(",");
        if (getAmazonopensearchserviceDestinationDescription() != null)
            sb.append("AmazonopensearchserviceDestinationDescription: ").append(getAmazonopensearchserviceDestinationDescription()).append(",");
        if (getSplunkDestinationDescription() != null)
            sb.append("SplunkDestinationDescription: ").append(getSplunkDestinationDescription()).append(",");
        if (getHttpEndpointDestinationDescription() != null)
            sb.append("HttpEndpointDestinationDescription: ").append(getHttpEndpointDestinationDescription()).append(",");
        if (getSnowflakeDestinationDescription() != null)
            sb.append("SnowflakeDestinationDescription: ").append(getSnowflakeDestinationDescription()).append(",");
        if (getAmazonOpenSearchServerlessDestinationDescription() != null)
            sb.append("AmazonOpenSearchServerlessDestinationDescription: ").append(getAmazonOpenSearchServerlessDestinationDescription()).append(",");
        if (getIcebergDestinationDescription() != null)
            sb.append("IcebergDestinationDescription: ").append(getIcebergDestinationDescription());
        sb.append("}");
        return sb.toString();
    }
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