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

        if (obj instanceof CreateDomainRequest == false)
            return false;
        CreateDomainRequest other = (CreateDomainRequest) obj;
        if (other.getDomainName() == null ^ this.getDomainName() == null)
            return false;
        if (other.getDomainName() != null && other.getDomainName().equals(this.getDomainName()) == false)
            return false;
        if (other.getDefaultExpirationDays() == null ^ this.getDefaultExpirationDays() == null)
            return false;
        if (other.getDefaultExpirationDays() != null && other.getDefaultExpirationDays().equals(this.getDefaultExpirationDays()) == false)
            return false;
        if (other.getDefaultEncryptionKey() == null ^ this.getDefaultEncryptionKey() == null)
            return false;
        if (other.getDefaultEncryptionKey() != null && other.getDefaultEncryptionKey().equals(this.getDefaultEncryptionKey()) == false)
            return false;
        if (other.getDeadLetterQueueUrl() == null ^ this.getDeadLetterQueueUrl() == null)
            return false;
        if (other.getDeadLetterQueueUrl() != null && other.getDeadLetterQueueUrl().equals(this.getDeadLetterQueueUrl()) == false)
            return false;
        if (other.getMatching() == null ^ this.getMatching() == null)
            return false;
        if (other.getMatching() != null && other.getMatching().equals(this.getMatching()) == false)
            return false;
        if (other.getRuleBasedMatching() == null ^ this.getRuleBasedMatching() == null)
            return false;
        if (other.getRuleBasedMatching() != null && other.getRuleBasedMatching().equals(this.getRuleBasedMatching()) == false)
            return false;
        if (other.getTags() == null ^ this.getTags() == null)
            return false;
        if (other.getTags() != null && other.getTags().equals(this.getTags()) == 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-customerprofiles/src/main/java/com/amazonaws/services/customerprofiles/model/CreateDomainRequest.java