Interface SelectiveExecutionConfig.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<SelectiveExecutionConfig.Builder,SelectiveExecutionConfig>
,SdkBuilder<SelectiveExecutionConfig.Builder,SelectiveExecutionConfig>
,SdkPojo
- Enclosing class:
- SelectiveExecutionConfig
public static interface SelectiveExecutionConfig.Builder extends SdkPojo, CopyableBuilder<SelectiveExecutionConfig.Builder,SelectiveExecutionConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SelectiveExecutionConfig.Builder
selectedSteps(Collection<SelectedStep> selectedSteps)
A list of pipeline steps to run.SelectiveExecutionConfig.Builder
selectedSteps(Consumer<SelectedStep.Builder>... selectedSteps)
A list of pipeline steps to run.SelectiveExecutionConfig.Builder
selectedSteps(SelectedStep... selectedSteps)
A list of pipeline steps to run.SelectiveExecutionConfig.Builder
sourcePipelineExecutionArn(String sourcePipelineExecutionArn)
The ARN from a reference execution of the current pipeline.-
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
-
sourcePipelineExecutionArn
SelectiveExecutionConfig.Builder sourcePipelineExecutionArn(String sourcePipelineExecutionArn)
The ARN from a reference execution of the current pipeline. Used to copy input collaterals needed for the selected steps to run. The execution status of the pipeline can be either
Failed
orSuccess
.This field is required if the steps you specify for
SelectedSteps
depend on output collaterals from any non-specified pipeline steps. For more information, see Selective Execution for Pipeline Steps.- Parameters:
sourcePipelineExecutionArn
- The ARN from a reference execution of the current pipeline. Used to copy input collaterals needed for the selected steps to run. The execution status of the pipeline can be eitherFailed
orSuccess
.This field is required if the steps you specify for
SelectedSteps
depend on output collaterals from any non-specified pipeline steps. For more information, see Selective Execution for Pipeline Steps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectedSteps
SelectiveExecutionConfig.Builder selectedSteps(Collection<SelectedStep> selectedSteps)
A list of pipeline steps to run. All step(s) in all path(s) between two selected steps should be included.
- Parameters:
selectedSteps
- A list of pipeline steps to run. All step(s) in all path(s) between two selected steps should be included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectedSteps
SelectiveExecutionConfig.Builder selectedSteps(SelectedStep... selectedSteps)
A list of pipeline steps to run. All step(s) in all path(s) between two selected steps should be included.
- Parameters:
selectedSteps
- A list of pipeline steps to run. All step(s) in all path(s) between two selected steps should be included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectedSteps
SelectiveExecutionConfig.Builder selectedSteps(Consumer<SelectedStep.Builder>... selectedSteps)
A list of pipeline steps to run. All step(s) in all path(s) between two selected steps should be included.
This is a convenience method that creates an instance of theSelectedStep.Builder
avoiding the need to create one manually viaSelectedStep.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#selectedSteps(List
.) - Parameters:
selectedSteps
- a consumer that will call methods onSelectedStep.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#selectedSteps(java.util.Collection
)
-
-