@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getId() != null)
            sb.append("Id: ").append(getId()).append(",");
        if (getGroupId() != null)
            sb.append("GroupId: ").append(getGroupId()).append(",");
        if (getTitle() != null)
            sb.append("Title: ").append(getTitle()).append(",");
        if (getBody() != null)
            sb.append("Body: ").append(getBody()).append(",");
        if (getTokenizedTitle() != null)
            sb.append("TokenizedTitle: ").append(getTokenizedTitle()).append(",");
        if (getTokenizedBody() != null)
            sb.append("TokenizedBody: ").append(getTokenizedBody()).append(",");
        if (getOriginalScore() != null)
            sb.append("OriginalScore: ").append(getOriginalScore());
        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-kendraranking/src/main/java/com/amazonaws/services/kendraranking/model/Document.java