@Override
    public int hashCode() {
        final int prime = 31;
        int hashCode = 1;

        hashCode = prime * hashCode + ((getStageId() == null) ? 0 : getStageId().hashCode());
        hashCode = prime * hashCode + ((getState() == null) ? 0 : getState().hashCode());
        hashCode = prime * hashCode + ((getOutputBytes() == null) ? 0 : getOutputBytes().hashCode());
        hashCode = prime * hashCode + ((getOutputRows() == null) ? 0 : getOutputRows().hashCode());
        hashCode = prime * hashCode + ((getInputBytes() == null) ? 0 : getInputBytes().hashCode());
        hashCode = prime * hashCode + ((getInputRows() == null) ? 0 : getInputRows().hashCode());
        hashCode = prime * hashCode + ((getExecutionTime() == null) ? 0 : getExecutionTime().hashCode());
        hashCode = prime * hashCode + ((getQueryStagePlan() == null) ? 0 : getQueryStagePlan().hashCode());
        hashCode = prime * hashCode + ((getSubStages() == null) ? 0 : getSubStages().hashCode());
        return hashCode;
    }
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