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

        if (obj instanceof Relevance == false)
            return false;
        Relevance other = (Relevance) obj;
        if (other.getFreshness() == null ^ this.getFreshness() == null)
            return false;
        if (other.getFreshness() != null && other.getFreshness().equals(this.getFreshness()) == false)
            return false;
        if (other.getImportance() == null ^ this.getImportance() == null)
            return false;
        if (other.getImportance() != null && other.getImportance().equals(this.getImportance()) == false)
            return false;
        if (other.getDuration() == null ^ this.getDuration() == null)
            return false;
        if (other.getDuration() != null && other.getDuration().equals(this.getDuration()) == false)
            return false;
        if (other.getRankOrder() == null ^ this.getRankOrder() == null)
            return false;
        if (other.getRankOrder() != null && other.getRankOrder().equals(this.getRankOrder()) == false)
            return false;
        if (other.getValueImportanceMap() == null ^ this.getValueImportanceMap() == null)
            return false;
        if (other.getValueImportanceMap() != null && other.getValueImportanceMap().equals(this.getValueImportanceMap()) == 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-kendra/src/main/java/com/amazonaws/services/kendra/model/Relevance.java