Interface PipelineExecution.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PipelineExecution.Builder,PipelineExecution>,SdkBuilder<PipelineExecution.Builder,PipelineExecution>,SdkPojo
- Enclosing class:
- PipelineExecution
public static interface PipelineExecution.Builder extends SdkPojo, CopyableBuilder<PipelineExecution.Builder,PipelineExecution>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PipelineExecution.BuilderartifactRevisions(Collection<ArtifactRevision> artifactRevisions)A list ofArtifactRevisionobjects included in a pipeline execution.PipelineExecution.BuilderartifactRevisions(Consumer<ArtifactRevision.Builder>... artifactRevisions)A list ofArtifactRevisionobjects included in a pipeline execution.PipelineExecution.BuilderartifactRevisions(ArtifactRevision... artifactRevisions)A list ofArtifactRevisionobjects included in a pipeline execution.PipelineExecution.BuilderexecutionMode(String executionMode)The method that the pipeline will use to handle multiple executions.PipelineExecution.BuilderexecutionMode(ExecutionMode executionMode)The method that the pipeline will use to handle multiple executions.PipelineExecution.BuilderexecutionType(String executionType)The type of the pipeline execution.PipelineExecution.BuilderexecutionType(ExecutionType executionType)The type of the pipeline execution.PipelineExecution.BuilderpipelineExecutionId(String pipelineExecutionId)The ID of the pipeline execution.PipelineExecution.BuilderpipelineName(String pipelineName)The name of the pipeline with the specified pipeline execution.PipelineExecution.BuilderpipelineVersion(Integer pipelineVersion)The version number of the pipeline with the specified pipeline execution.default PipelineExecution.BuilderrollbackMetadata(Consumer<PipelineRollbackMetadata.Builder> rollbackMetadata)The metadata about the execution pertaining to stage rollback.PipelineExecution.BuilderrollbackMetadata(PipelineRollbackMetadata rollbackMetadata)The metadata about the execution pertaining to stage rollback.PipelineExecution.Builderstatus(String status)The status of the pipeline execution.PipelineExecution.Builderstatus(PipelineExecutionStatus status)The status of the pipeline execution.PipelineExecution.BuilderstatusSummary(String statusSummary)A summary that contains a description of the pipeline execution status.default PipelineExecution.Buildertrigger(Consumer<ExecutionTrigger.Builder> trigger)Sets the value of the Trigger property for this object.PipelineExecution.Buildertrigger(ExecutionTrigger trigger)Sets the value of the Trigger property for this object.PipelineExecution.Buildervariables(Collection<ResolvedPipelineVariable> variables)A list of pipeline variables used for the pipeline execution.PipelineExecution.Buildervariables(Consumer<ResolvedPipelineVariable.Builder>... variables)A list of pipeline variables used for the pipeline execution.PipelineExecution.Buildervariables(ResolvedPipelineVariable... variables)A list of pipeline variables used for the pipeline execution.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
pipelineName
PipelineExecution.Builder pipelineName(String pipelineName)
The name of the pipeline with the specified pipeline execution.
- Parameters:
pipelineName- The name of the pipeline with the specified pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelineVersion
PipelineExecution.Builder pipelineVersion(Integer pipelineVersion)
The version number of the pipeline with the specified pipeline execution.
- Parameters:
pipelineVersion- The version number of the pipeline with the specified pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelineExecutionId
PipelineExecution.Builder pipelineExecutionId(String pipelineExecutionId)
The ID of the pipeline execution.
- Parameters:
pipelineExecutionId- The ID of the pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
PipelineExecution.Builder status(String status)
The status of the pipeline execution.
-
Cancelled: The pipeline’s definition was updated before the pipeline execution could be completed.
-
InProgress: The pipeline execution is currently running.
-
Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions.
-
Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions.
-
Succeeded: The pipeline execution was completed successfully.
-
Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution advanced and continued through the pipeline instead. For more information, see Superseded Executions.
-
Failed: The pipeline execution was not completed successfully.
- Parameters:
status- The status of the pipeline execution.-
Cancelled: The pipeline’s definition was updated before the pipeline execution could be completed.
-
InProgress: The pipeline execution is currently running.
-
Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions.
-
Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions.
-
Succeeded: The pipeline execution was completed successfully.
-
Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution advanced and continued through the pipeline instead. For more information, see Superseded Executions.
-
Failed: The pipeline execution was not completed successfully.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PipelineExecutionStatus,PipelineExecutionStatus
-
-
status
PipelineExecution.Builder status(PipelineExecutionStatus status)
The status of the pipeline execution.
-
Cancelled: The pipeline’s definition was updated before the pipeline execution could be completed.
-
InProgress: The pipeline execution is currently running.
-
Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions.
-
Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions.
-
Succeeded: The pipeline execution was completed successfully.
-
Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution advanced and continued through the pipeline instead. For more information, see Superseded Executions.
-
Failed: The pipeline execution was not completed successfully.
- Parameters:
status- The status of the pipeline execution.-
Cancelled: The pipeline’s definition was updated before the pipeline execution could be completed.
-
InProgress: The pipeline execution is currently running.
-
Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions.
-
Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions.
-
Succeeded: The pipeline execution was completed successfully.
-
Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution advanced and continued through the pipeline instead. For more information, see Superseded Executions.
-
Failed: The pipeline execution was not completed successfully.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PipelineExecutionStatus,PipelineExecutionStatus
-
-
statusSummary
PipelineExecution.Builder statusSummary(String statusSummary)
A summary that contains a description of the pipeline execution status.
- Parameters:
statusSummary- A summary that contains a description of the pipeline execution status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifactRevisions
PipelineExecution.Builder artifactRevisions(Collection<ArtifactRevision> artifactRevisions)
A list of
ArtifactRevisionobjects included in a pipeline execution.- Parameters:
artifactRevisions- A list ofArtifactRevisionobjects included in a pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifactRevisions
PipelineExecution.Builder artifactRevisions(ArtifactRevision... artifactRevisions)
A list of
ArtifactRevisionobjects included in a pipeline execution.- Parameters:
artifactRevisions- A list ofArtifactRevisionobjects included in a pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifactRevisions
PipelineExecution.Builder artifactRevisions(Consumer<ArtifactRevision.Builder>... artifactRevisions)
A list of
This is a convenience method that creates an instance of theArtifactRevisionobjects included in a pipeline execution.ArtifactRevision.Builderavoiding the need to create one manually viaArtifactRevision.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#artifactRevisions(List.) - Parameters:
artifactRevisions- a consumer that will call methods onArtifactRevision.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#artifactRevisions(java.util.Collection)
-
variables
PipelineExecution.Builder variables(Collection<ResolvedPipelineVariable> variables)
A list of pipeline variables used for the pipeline execution.
- Parameters:
variables- A list of pipeline variables used for the pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variables
PipelineExecution.Builder variables(ResolvedPipelineVariable... variables)
A list of pipeline variables used for the pipeline execution.
- Parameters:
variables- A list of pipeline variables used for the pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variables
PipelineExecution.Builder variables(Consumer<ResolvedPipelineVariable.Builder>... variables)
A list of pipeline variables used for the pipeline execution.
This is a convenience method that creates an instance of theResolvedPipelineVariable.Builderavoiding the need to create one manually viaResolvedPipelineVariable.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#variables(List.) - Parameters:
variables- a consumer that will call methods onResolvedPipelineVariable.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#variables(java.util.Collection)
-
trigger
PipelineExecution.Builder trigger(ExecutionTrigger trigger)
Sets the value of the Trigger property for this object.- Parameters:
trigger- The new value for the Trigger property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trigger
default PipelineExecution.Builder trigger(Consumer<ExecutionTrigger.Builder> trigger)
Sets the value of the Trigger property for this object. This is a convenience method that creates an instance of theExecutionTrigger.Builderavoiding the need to create one manually viaExecutionTrigger.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrigger(ExecutionTrigger).- Parameters:
trigger- a consumer that will call methods onExecutionTrigger.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
trigger(ExecutionTrigger)
-
executionMode
PipelineExecution.Builder executionMode(String executionMode)
The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
- Parameters:
executionMode- The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExecutionMode,ExecutionMode
-
executionMode
PipelineExecution.Builder executionMode(ExecutionMode executionMode)
The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
- Parameters:
executionMode- The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExecutionMode,ExecutionMode
-
executionType
PipelineExecution.Builder executionType(String executionType)
The type of the pipeline execution.
- Parameters:
executionType- The type of the pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExecutionType,ExecutionType
-
executionType
PipelineExecution.Builder executionType(ExecutionType executionType)
The type of the pipeline execution.
- Parameters:
executionType- The type of the pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExecutionType,ExecutionType
-
rollbackMetadata
PipelineExecution.Builder rollbackMetadata(PipelineRollbackMetadata rollbackMetadata)
The metadata about the execution pertaining to stage rollback.
- Parameters:
rollbackMetadata- The metadata about the execution pertaining to stage rollback.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rollbackMetadata
default PipelineExecution.Builder rollbackMetadata(Consumer<PipelineRollbackMetadata.Builder> rollbackMetadata)
The metadata about the execution pertaining to stage rollback.
This is a convenience method that creates an instance of thePipelineRollbackMetadata.Builderavoiding the need to create one manually viaPipelineRollbackMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torollbackMetadata(PipelineRollbackMetadata).- Parameters:
rollbackMetadata- a consumer that will call methods onPipelineRollbackMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
rollbackMetadata(PipelineRollbackMetadata)
-
-