public static interface PipelineExecutionStep.Builder extends SdkPojo, CopyableBuilder<PipelineExecutionStep.Builder,PipelineExecutionStep>
Modifier and Type | Method and Description |
---|---|
PipelineExecutionStep.Builder |
cacheHitResult(CacheHitResult cacheHitResult)
If this pipeline execution step was cached, details on the cache hit.
|
default PipelineExecutionStep.Builder |
cacheHitResult(Consumer<CacheHitResult.Builder> cacheHitResult)
If this pipeline execution step was cached, details on the cache hit.
|
PipelineExecutionStep.Builder |
endTime(Instant endTime)
The time that the step stopped executing.
|
PipelineExecutionStep.Builder |
failureReason(String failureReason)
The reason why the step failed execution.
|
default PipelineExecutionStep.Builder |
metadata(Consumer<PipelineExecutionStepMetadata.Builder> metadata)
Metadata for the step execution.
|
PipelineExecutionStep.Builder |
metadata(PipelineExecutionStepMetadata metadata)
Metadata for the step execution.
|
PipelineExecutionStep.Builder |
startTime(Instant startTime)
The time that the step started executing.
|
PipelineExecutionStep.Builder |
stepName(String stepName)
The name of the step that is executed.
|
PipelineExecutionStep.Builder |
stepStatus(StepStatus stepStatus)
The status of the step execution.
|
PipelineExecutionStep.Builder |
stepStatus(String stepStatus)
The status of the step execution.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
PipelineExecutionStep.Builder stepName(String stepName)
The name of the step that is executed.
stepName
- The name of the step that is executed.PipelineExecutionStep.Builder startTime(Instant startTime)
The time that the step started executing.
startTime
- The time that the step started executing.PipelineExecutionStep.Builder endTime(Instant endTime)
The time that the step stopped executing.
endTime
- The time that the step stopped executing.PipelineExecutionStep.Builder stepStatus(String stepStatus)
The status of the step execution.
stepStatus
- The status of the step execution.StepStatus
,
StepStatus
PipelineExecutionStep.Builder stepStatus(StepStatus stepStatus)
The status of the step execution.
stepStatus
- The status of the step execution.StepStatus
,
StepStatus
PipelineExecutionStep.Builder cacheHitResult(CacheHitResult cacheHitResult)
If this pipeline execution step was cached, details on the cache hit.
cacheHitResult
- If this pipeline execution step was cached, details on the cache hit.default PipelineExecutionStep.Builder cacheHitResult(Consumer<CacheHitResult.Builder> cacheHitResult)
If this pipeline execution step was cached, details on the cache hit.
This is a convenience that creates an instance of theCacheHitResult.Builder
avoiding the need to
create one manually via CacheHitResult.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to cacheHitResult(CacheHitResult)
.cacheHitResult
- a consumer that will call methods on CacheHitResult.Builder
cacheHitResult(CacheHitResult)
PipelineExecutionStep.Builder failureReason(String failureReason)
The reason why the step failed execution. This is only returned if the step failed its execution.
failureReason
- The reason why the step failed execution. This is only returned if the step failed its execution.PipelineExecutionStep.Builder metadata(PipelineExecutionStepMetadata metadata)
Metadata for the step execution.
metadata
- Metadata for the step execution.default PipelineExecutionStep.Builder metadata(Consumer<PipelineExecutionStepMetadata.Builder> metadata)
Metadata for the step execution.
This is a convenience that creates an instance of thePipelineExecutionStepMetadata.Builder
avoiding
the need to create one manually via PipelineExecutionStepMetadata.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to metadata(PipelineExecutionStepMetadata)
.metadata
- a consumer that will call methods on PipelineExecutionStepMetadata.Builder
metadata(PipelineExecutionStepMetadata)
Copyright © 2021. All rights reserved.