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

        if (obj instanceof Name == false)
            return false;
        Name other = (Name) obj;
        if (other.getFormatted() == null ^ this.getFormatted() == null)
            return false;
        if (other.getFormatted() != null && other.getFormatted().equals(this.getFormatted()) == false)
            return false;
        if (other.getFamilyName() == null ^ this.getFamilyName() == null)
            return false;
        if (other.getFamilyName() != null && other.getFamilyName().equals(this.getFamilyName()) == false)
            return false;
        if (other.getGivenName() == null ^ this.getGivenName() == null)
            return false;
        if (other.getGivenName() != null && other.getGivenName().equals(this.getGivenName()) == false)
            return false;
        if (other.getMiddleName() == null ^ this.getMiddleName() == null)
            return false;
        if (other.getMiddleName() != null && other.getMiddleName().equals(this.getMiddleName()) == false)
            return false;
        if (other.getHonorificPrefix() == null ^ this.getHonorificPrefix() == null)
            return false;
        if (other.getHonorificPrefix() != null && other.getHonorificPrefix().equals(this.getHonorificPrefix()) == false)
            return false;
        if (other.getHonorificSuffix() == null ^ this.getHonorificSuffix() == null)
            return false;
        if (other.getHonorificSuffix() != null && other.getHonorificSuffix().equals(this.getHonorificSuffix()) == 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-identitystore/src/main/java/com/amazonaws/services/identitystore/model/Name.java