@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getDomainName() != null)
            sb.append("DomainName: ").append(getDomainName()).append(",");
        if (getDefaultExpirationDays() != null)
            sb.append("DefaultExpirationDays: ").append(getDefaultExpirationDays()).append(",");
        if (getDefaultEncryptionKey() != null)
            sb.append("DefaultEncryptionKey: ").append(getDefaultEncryptionKey()).append(",");
        if (getDeadLetterQueueUrl() != null)
            sb.append("DeadLetterQueueUrl: ").append(getDeadLetterQueueUrl()).append(",");
        if (getMatching() != null)
            sb.append("Matching: ").append(getMatching()).append(",");
        if (getRuleBasedMatching() != null)
            sb.append("RuleBasedMatching: ").append(getRuleBasedMatching()).append(",");
        if (getTags() != null)
            sb.append("Tags: ").append(getTags());
        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-customerprofiles/src/main/java/com/amazonaws/services/customerprofiles/model/CreateDomainRequest.java