@Override
    public String toString() {
        return "IndexExpression{index=" + index + '}';
    }
Gets the index to retrieve.

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