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

        if (obj instanceof QueryStage == false)
            return false;
        QueryStage other = (QueryStage) obj;
        if (other.getStageId() == null ^ this.getStageId() == null)
            return false;
        if (other.getStageId() != null && other.getStageId().equals(this.getStageId()) == false)
            return false;
        if (other.getState() == null ^ this.getState() == null)
            return false;
        if (other.getState() != null && other.getState().equals(this.getState()) == false)
            return false;
        if (other.getOutputBytes() == null ^ this.getOutputBytes() == null)
            return false;
        if (other.getOutputBytes() != null && other.getOutputBytes().equals(this.getOutputBytes()) == false)
            return false;
        if (other.getOutputRows() == null ^ this.getOutputRows() == null)
            return false;
        if (other.getOutputRows() != null && other.getOutputRows().equals(this.getOutputRows()) == false)
            return false;
        if (other.getInputBytes() == null ^ this.getInputBytes() == null)
            return false;
        if (other.getInputBytes() != null && other.getInputBytes().equals(this.getInputBytes()) == false)
            return false;
        if (other.getInputRows() == null ^ this.getInputRows() == null)
            return false;
        if (other.getInputRows() != null && other.getInputRows().equals(this.getInputRows()) == false)
            return false;
        if (other.getExecutionTime() == null ^ this.getExecutionTime() == null)
            return false;
        if (other.getExecutionTime() != null && other.getExecutionTime().equals(this.getExecutionTime()) == false)
            return false;
        if (other.getQueryStagePlan() == null ^ this.getQueryStagePlan() == null)
            return false;
        if (other.getQueryStagePlan() != null && other.getQueryStagePlan().equals(this.getQueryStagePlan()) == false)
            return false;
        if (other.getSubStages() == null ^ this.getSubStages() == null)
            return false;
        if (other.getSubStages() != null && other.getSubStages().equals(this.getSubStages()) == 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-athena/src/main/java/com/amazonaws/services/athena/model/QueryStage.java