public String getExpected() {
        return expected;
    }
Gets the expected return value of each element returned by the
path.

@return The return value to compare each result against.
smithy-waiters/src/main/java/software/amazon/smithy/waiters/PathMatcher.java