session

public Optional<ShardSessionRecord> session()

Returns ShardProcessingSession if this outcome indicates that shard is successfully picked up, or empty Optional otherwise.