@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getConsumerIdentifier() != null)
            sb.append("ConsumerIdentifier: ").append(getConsumerIdentifier()).append(",");
        if (getStatus() != null)
            sb.append("Status: ").append(getStatus()).append(",");
        if (getConsumerRegion() != null)
            sb.append("ConsumerRegion: ").append(getConsumerRegion()).append(",");
        if (getCreatedDate() != null)
            sb.append("CreatedDate: ").append(getCreatedDate()).append(",");
        if (getStatusChangeDate() != null)
            sb.append("StatusChangeDate: ").append(getStatusChangeDate()).append(",");
        if (getProducerAllowedWrites() != null)
            sb.append("ProducerAllowedWrites: ").append(getProducerAllowedWrites()).append(",");
        if (getConsumerAcceptedWrites() != null)
            sb.append("ConsumerAcceptedWrites: ").append(getConsumerAcceptedWrites());
        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-redshift/src/main/java/com/amazonaws/services/redshift/model/DataShareAssociation.java