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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StepSummary.BuildercreatedAt(Instant createdAt)The date and time the resource was created.StepSummary.BuildercreatedBy(String createdBy)The user or system that created this resource.default StepSummary.BuilderdependencyCounts(Consumer<DependencyCounts.Builder> dependencyCounts)The number of dependencies for the step.StepSummary.BuilderdependencyCounts(DependencyCounts dependencyCounts)The number of dependencies for the step.StepSummary.BuilderendedAt(Instant endedAt)The date and time the resource ended running.StepSummary.BuilderlifecycleStatus(String lifecycleStatus)The life cycle status.StepSummary.BuilderlifecycleStatus(StepLifecycleStatus lifecycleStatus)The life cycle status.StepSummary.BuilderlifecycleStatusMessage(String lifecycleStatusMessage)A message that describes the lifecycle of the step.StepSummary.Buildername(String name)The name of the step.StepSummary.BuilderstartedAt(Instant startedAt)The date and time the resource started running.StepSummary.BuilderstepId(String stepId)The step ID.StepSummary.BuildertargetTaskRunStatus(String targetTaskRunStatus)The task status to start with on the job.StepSummary.BuildertargetTaskRunStatus(StepTargetTaskRunStatus targetTaskRunStatus)The task status to start with on the job.StepSummary.BuildertaskRunStatus(String taskRunStatus)The task run status for the job.StepSummary.BuildertaskRunStatus(TaskRunStatus taskRunStatus)The task run status for the job.StepSummary.BuildertaskRunStatusCounts(Map<TaskRunStatus,Integer> taskRunStatusCounts)The number of tasks running on the job.StepSummary.BuildertaskRunStatusCountsWithStrings(Map<String,Integer> taskRunStatusCounts)The number of tasks running on the job.StepSummary.BuilderupdatedAt(Instant updatedAt)The date and time the resource was updated.StepSummary.BuilderupdatedBy(String updatedBy)The user or system that updated this resource.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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.
-
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 theDependencyCounts.Builderavoiding the need to create one manually viaDependencyCounts.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todependencyCounts(DependencyCounts).- Parameters:
dependencyCounts- a consumer that will call methods onDependencyCounts.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dependencyCounts(DependencyCounts)
-
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:
StepLifecycleStatus,StepLifecycleStatus
-
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:
StepLifecycleStatus,StepLifecycleStatus
-
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
-
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:
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.
-
-