Creates a new JobStatus.
details Optional job state details, such as an error description if the state is ERROR.
state A state message specifying the overall job state.
stateStartTime The time when this state was entered.
substate Additional state information, which includes status reported by the agent.