@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getStageId() != null)
            sb.append("StageId: ").append(getStageId()).append(",");
        if (getState() != null)
            sb.append("State: ").append(getState()).append(",");
        if (getOutputBytes() != null)
            sb.append("OutputBytes: ").append(getOutputBytes()).append(",");
        if (getOutputRows() != null)
            sb.append("OutputRows: ").append(getOutputRows()).append(",");
        if (getInputBytes() != null)
            sb.append("InputBytes: ").append(getInputBytes()).append(",");
        if (getInputRows() != null)
            sb.append("InputRows: ").append(getInputRows()).append(",");
        if (getExecutionTime() != null)
            sb.append("ExecutionTime: ").append(getExecutionTime()).append(",");
        if (getQueryStagePlan() != null)
            sb.append("QueryStagePlan: ").append(getQueryStagePlan()).append(",");
        if (getSubStages() != null)
            sb.append("SubStages: ").append(getSubStages());
        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-athena/src/main/java/com/amazonaws/services/athena/model/QueryStage.java