@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getDeliveryStreamName() != null)
            sb.append("DeliveryStreamName: ").append(getDeliveryStreamName()).append(",");
        if (getCurrentDeliveryStreamVersionId() != null)
            sb.append("CurrentDeliveryStreamVersionId: ").append(getCurrentDeliveryStreamVersionId()).append(",");
        if (getDestinationId() != null)
            sb.append("DestinationId: ").append(getDestinationId()).append(",");
        if (getS3DestinationUpdate() != null)
            sb.append("S3DestinationUpdate: ").append(getS3DestinationUpdate()).append(",");
        if (getExtendedS3DestinationUpdate() != null)
            sb.append("ExtendedS3DestinationUpdate: ").append(getExtendedS3DestinationUpdate()).append(",");
        if (getRedshiftDestinationUpdate() != null)
            sb.append("RedshiftDestinationUpdate: ").append(getRedshiftDestinationUpdate()).append(",");
        if (getElasticsearchDestinationUpdate() != null)
            sb.append("ElasticsearchDestinationUpdate: ").append(getElasticsearchDestinationUpdate()).append(",");
        if (getAmazonopensearchserviceDestinationUpdate() != null)
            sb.append("AmazonopensearchserviceDestinationUpdate: ").append(getAmazonopensearchserviceDestinationUpdate()).append(",");
        if (getSplunkDestinationUpdate() != null)
            sb.append("SplunkDestinationUpdate: ").append(getSplunkDestinationUpdate()).append(",");
        if (getHttpEndpointDestinationUpdate() != null)
            sb.append("HttpEndpointDestinationUpdate: ").append(getHttpEndpointDestinationUpdate()).append(",");
        if (getAmazonOpenSearchServerlessDestinationUpdate() != null)
            sb.append("AmazonOpenSearchServerlessDestinationUpdate: ").append(getAmazonOpenSearchServerlessDestinationUpdate()).append(",");
        if (getSnowflakeDestinationUpdate() != null)
            sb.append("SnowflakeDestinationUpdate: ").append(getSnowflakeDestinationUpdate()).append(",");
        if (getIcebergDestinationUpdate() != null)
            sb.append("IcebergDestinationUpdate: ").append(getIcebergDestinationUpdate());
        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/UpdateDestinationRequest.java