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

        if (obj instanceof SubjectDetail == false)
            return false;
        SubjectDetail other = (SubjectDetail) obj;
        if (other.getCreatedAt() == null ^ this.getCreatedAt() == null)
            return false;
        if (other.getCreatedAt() != null && other.getCreatedAt().equals(this.getCreatedAt()) == false)
            return false;
        if (other.getCredentials() == null ^ this.getCredentials() == null)
            return false;
        if (other.getCredentials() != null && other.getCredentials().equals(this.getCredentials()) == false)
            return false;
        if (other.getEnabled() == null ^ this.getEnabled() == null)
            return false;
        if (other.getEnabled() != null && other.getEnabled().equals(this.getEnabled()) == false)
            return false;
        if (other.getInstanceProperties() == null ^ this.getInstanceProperties() == null)
            return false;
        if (other.getInstanceProperties() != null && other.getInstanceProperties().equals(this.getInstanceProperties()) == false)
            return false;
        if (other.getLastSeenAt() == null ^ this.getLastSeenAt() == null)
            return false;
        if (other.getLastSeenAt() != null && other.getLastSeenAt().equals(this.getLastSeenAt()) == false)
            return false;
        if (other.getSubjectArn() == null ^ this.getSubjectArn() == null)
            return false;
        if (other.getSubjectArn() != null && other.getSubjectArn().equals(this.getSubjectArn()) == false)
            return false;
        if (other.getSubjectId() == null ^ this.getSubjectId() == null)
            return false;
        if (other.getSubjectId() != null && other.getSubjectId().equals(this.getSubjectId()) == false)
            return false;
        if (other.getUpdatedAt() == null ^ this.getUpdatedAt() == null)
            return false;
        if (other.getUpdatedAt() != null && other.getUpdatedAt().equals(this.getUpdatedAt()) == false)
            return false;
        if (other.getX509Subject() == null ^ this.getX509Subject() == null)
            return false;
        if (other.getX509Subject() != null && other.getX509Subject().equals(this.getX509Subject()) == 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-iamrolesanywhere/src/main/java/com/amazonaws/services/iamrolesanywhere/model/SubjectDetail.java