Interface StepSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<StepSummary.Builder,StepSummary>, SdkBuilder<StepSummary.Builder,StepSummary>, SdkPojo
Enclosing class:
StepSummary

public static interface StepSummary.Builder extends SdkPojo, CopyableBuilder<StepSummary.Builder,StepSummary>
  • Method Details

    • 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.
    • dependencyCounts

      default StepSummary.Builder dependencyCounts(Consumer<DependencyCounts.Builder> dependencyCounts)

      The number of dependencies for the step.

      This is a convenience method that creates an instance of the DependencyCounts.Builder avoiding the need to create one manually via DependencyCounts.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dependencyCounts(DependencyCounts).

      Parameters:
      dependencyCounts - a consumer that will call methods on DependencyCounts.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • lifecycleStatus

      StepSummary.Builder lifecycleStatus(String lifecycleStatus)

      The life cycle status.

      Parameters:
      lifecycleStatus - The life cycle status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lifecycleStatus

      StepSummary.Builder lifecycleStatus(StepLifecycleStatus lifecycleStatus)

      The life cycle status.

      Parameters:
      lifecycleStatus - The life cycle status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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:
    • targetTaskRunStatus

      StepSummary.Builder targetTaskRunStatus(StepTargetTaskRunStatus 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:
    • 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

      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:
    • 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.