public Target withInputPath(String inputPath) {
        setInputPath(inputPath);
        return this;
    }
<p>
The value of the JSONPath that is used for extracting part of the matched event when passing it to the target.
You may use JSON dot notation or bracket notation. For more information about JSON paths, see <a
href="http://goessner.net/articles/JsonPath/">JSONPath</a>.
</p>

@param inputPath
       The value of the JSONPath that is used for extracting part of the matched event when passing it to the
       target. You may use JSON dot notation or bracket notation. For more information about JSON paths, see <a
       href="http://goessner.net/articles/JsonPath/">JSONPath</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/Target.java