Interface StepSummary.Builder

    • Method Detail

      • createdAt

        StepSummary.Builder createdAt​(Instant createdAt)

        The date and time the resource was created.

        Parameters:
        createdAt - The date and time the resource was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdBy

        StepSummary.Builder createdBy​(String createdBy)

        The user or system that created this resource.

        Parameters:
        createdBy - The user or system that created this resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dependencyCounts

        StepSummary.Builder dependencyCounts​(DependencyCounts dependencyCounts)

        The number of dependencies for the step.

        Parameters:
        dependencyCounts - The number of dependencies for the step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endedAt

        StepSummary.Builder endedAt​(Instant endedAt)

        The date and time the resource ended running.

        Parameters:
        endedAt - The date and time the resource ended running.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lifecycleStatusMessage

        StepSummary.Builder lifecycleStatusMessage​(String lifecycleStatusMessage)

        A message that describes the lifecycle of the step.

        Parameters:
        lifecycleStatusMessage - A message that describes the lifecycle of the step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        StepSummary.Builder name​(String name)

        The name of the step.

        Parameters:
        name - The name of the step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startedAt

        StepSummary.Builder startedAt​(Instant startedAt)

        The date and time the resource started running.

        Parameters:
        startedAt - The date and time the resource started running.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stepId

        StepSummary.Builder stepId​(String stepId)

        The step ID.

        Parameters:
        stepId - The step ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetTaskRunStatus

        StepSummary.Builder targetTaskRunStatus​(String targetTaskRunStatus)

        The task status to start with on the job.

        Parameters:
        targetTaskRunStatus - The task status to start with on the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StepTargetTaskRunStatus, StepTargetTaskRunStatus
      • taskRunStatus

        StepSummary.Builder taskRunStatus​(String taskRunStatus)

        The task run status for the job.

        • PENDING–pending and waiting for resources.

        • READY–ready to process.

        • ASSIGNED–assigned and will run next on a worker.

        • SCHEDULED–scheduled to run on a worker.

        • INTERRUPTING–being interrupted.

        • RUNNING–running on a worker.

        • SUSPENDED–the task is suspended.

        • CANCELED–the task has been canceled.

        • FAILED–the task has failed.

        • SUCCEEDED–the task has succeeded.

        Parameters:
        taskRunStatus - The task run status for the job.

        • PENDING–pending and waiting for resources.

        • READY–ready to process.

        • ASSIGNED–assigned and will run next on a worker.

        • SCHEDULED–scheduled to run on a worker.

        • INTERRUPTING–being interrupted.

        • RUNNING–running on a worker.

        • SUSPENDED–the task is suspended.

        • CANCELED–the task has been canceled.

        • FAILED–the task has failed.

        • SUCCEEDED–the task has succeeded.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TaskRunStatus, TaskRunStatus
      • taskRunStatus

        StepSummary.Builder taskRunStatus​(TaskRunStatus taskRunStatus)

        The task run status for the job.

        • PENDING–pending and waiting for resources.

        • READY–ready to process.

        • ASSIGNED–assigned and will run next on a worker.

        • SCHEDULED–scheduled to run on a worker.

        • INTERRUPTING–being interrupted.

        • RUNNING–running on a worker.

        • SUSPENDED–the task is suspended.

        • CANCELED–the task has been canceled.

        • FAILED–the task has failed.

        • SUCCEEDED–the task has succeeded.

        Parameters:
        taskRunStatus - The task run status for the job.

        • PENDING–pending and waiting for resources.

        • READY–ready to process.

        • ASSIGNED–assigned and will run next on a worker.

        • SCHEDULED–scheduled to run on a worker.

        • INTERRUPTING–being interrupted.

        • RUNNING–running on a worker.

        • SUSPENDED–the task is suspended.

        • CANCELED–the task has been canceled.

        • FAILED–the task has failed.

        • SUCCEEDED–the task has succeeded.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TaskRunStatus, TaskRunStatus
      • taskRunStatusCountsWithStrings

        StepSummary.Builder taskRunStatusCountsWithStrings​(Map<String,​Integer> taskRunStatusCounts)

        The number of tasks running on the job.

        Parameters:
        taskRunStatusCounts - The number of tasks running on the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • taskRunStatusCounts

        StepSummary.Builder taskRunStatusCounts​(Map<TaskRunStatus,​Integer> taskRunStatusCounts)

        The number of tasks running on the job.

        Parameters:
        taskRunStatusCounts - The number of tasks running on the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        StepSummary.Builder updatedAt​(Instant updatedAt)

        The date and time the resource was updated.

        Parameters:
        updatedAt - The date and time the resource was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedBy

        StepSummary.Builder updatedBy​(String updatedBy)

        The user or system that updated this resource.

        Parameters:
        updatedBy - The user or system that updated this resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.