Class JobExecutionSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • jobKey

        public JobExecutionSummary.Builder jobKey​(String jobKey)
        The unique key of the parent job.
        Parameters:
        jobKey - the value to set
        Returns:
        this builder
      • parentKey

        public JobExecutionSummary.Builder parentKey​(String parentKey)
        The unique key of the parent execution or null if this job execution has no parent.
        Parameters:
        parentKey - the value to set
        Returns:
        this builder
      • scheduleInstanceKey

        public JobExecutionSummary.Builder scheduleInstanceKey​(String scheduleInstanceKey)
        The unique key of the triggering external scheduler resource or null if this job execution is not externally triggered.
        Parameters:
        scheduleInstanceKey - the value to set
        Returns:
        this builder
      • lifecycleState

        public JobExecutionSummary.Builder lifecycleState​(JobExecutionState lifecycleState)
        Status of the job execution, such as running, paused, or completed.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • timeCreated

        public JobExecutionSummary.Builder timeCreated​(Date timeCreated)
        The date and time the job execution was created, in the format defined by RFC3339.

        Example: 2019-03-25T21:10:29.600Z

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeStarted

        public JobExecutionSummary.Builder timeStarted​(Date timeStarted)
        Time that job execution started.

        An RFC3339 formatted datetime string.

        Parameters:
        timeStarted - the value to set
        Returns:
        this builder
      • timeEnded

        public JobExecutionSummary.Builder timeEnded​(Date timeEnded)
        Time that the job execution ended or null if it hasn’t yet completed.

        An RFC3339 formatted datetime string.

        Parameters:
        timeEnded - the value to set
        Returns:
        this builder
      • uri

        public JobExecutionSummary.Builder uri​(String uri)
        URI to the job execution instance in the API.
        Parameters:
        uri - the value to set
        Returns:
        this builder