@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getQueryId() != null)
            sb.append("QueryId: ").append(getQueryId()).append(",");
        if (getQueryStartTime() != null)
            sb.append("QueryStartTime: ").append(getQueryStartTime()).append(",");
        if (getClusterId() != null)
            sb.append("ClusterId: ").append(getClusterId()).append(",");
        if (getQueryAuthorizationId() != null)
            sb.append("QueryAuthorizationId: ").append(getQueryAuthorizationId()).append(",");
        if (getAdditionalContext() != null)
            sb.append("AdditionalContext: ").append(getAdditionalContext());
        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-lakeformation/src/main/java/com/amazonaws/services/lakeformation/model/QuerySessionContext.java