A string that follows the ISO-8601 standard for representing date and time can be easily converted to Instant via the Instant.parse() method, as in the following example:
// 2019-02-24T14:31:33.197021300Z
Instant timestampFromString =
Instant.parse("2019-02-24T14:31:33.197021300Z");