@Override
    public int hashCode() {
        return Objects.hash(getIndex());
    }
Gets the index to retrieve.

@return Returns the index.
smithy-jmespath/src/main/java/software/amazon/smithy/jmespath/ast/IndexExpression.java