Interface PipelineExecution.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<PipelineExecution.Builder,,- PipelineExecution> - SdkBuilder<PipelineExecution.Builder,,- PipelineExecution> - SdkPojo
- Enclosing class:
- PipelineExecution
- 
Method SummaryModifier and TypeMethodDescriptionartifactRevisions(Collection<ArtifactRevision> artifactRevisions) A list ofArtifactRevisionobjects included in a pipeline execution.artifactRevisions(Consumer<ArtifactRevision.Builder>... artifactRevisions) A list ofArtifactRevisionobjects included in a pipeline execution.artifactRevisions(ArtifactRevision... artifactRevisions) A list ofArtifactRevisionobjects included in a pipeline execution.executionMode(String executionMode) The method that the pipeline will use to handle multiple executions.executionMode(ExecutionMode executionMode) The method that the pipeline will use to handle multiple executions.executionType(String executionType) The type of the pipeline execution.executionType(ExecutionType executionType) The type of the pipeline execution.pipelineExecutionId(String pipelineExecutionId) The ID of the pipeline execution.pipelineName(String pipelineName) The name of the pipeline with the specified pipeline execution.pipelineVersion(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.rollbackMetadata(PipelineRollbackMetadata rollbackMetadata) The metadata about the execution pertaining to stage rollback.The status of the pipeline execution.status(PipelineExecutionStatus status) The status of the pipeline execution.statusSummary(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.trigger(ExecutionTrigger trigger) Sets the value of the Trigger property for this object.variables(Collection<ResolvedPipelineVariable> variables) A list of pipeline variables used for the pipeline execution.variables(Consumer<ResolvedPipelineVariable.Builder>... variables) A list of pipeline variables used for the pipeline execution.variables(ResolvedPipelineVariable... variables) A list of pipeline variables used for the pipeline execution.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
pipelineNameThe 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.
 
- 
pipelineVersionThe 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.
 
- 
pipelineExecutionIdThe 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.
 
- 
statusThe 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:
 
- 
 
- 
statusThe 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:
 
- 
 
- 
statusSummaryA 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.
 
- 
artifactRevisionsA list of ArtifactRevisionobjects included in a pipeline execution.- Parameters:
- artifactRevisions- A list of- ArtifactRevisionobjects included in a pipeline execution.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
artifactRevisionsA list of ArtifactRevisionobjects included in a pipeline execution.- Parameters:
- artifactRevisions- A list of- ArtifactRevisionobjects included in a pipeline execution.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
artifactRevisionsPipelineExecution.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 toartifactRevisions(List<ArtifactRevision>).- Parameters:
- artifactRevisions- a consumer that will call methods on- ArtifactRevision.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
variablesA 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.
 
- 
variablesA 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.
 
- 
variablesA 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 tovariables(List<ResolvedPipelineVariable>).- Parameters:
- variables- a consumer that will call methods on- ResolvedPipelineVariable.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
triggerSets 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.
 
- 
triggerSets 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 on- ExecutionTrigger.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
executionModeThe 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:
 
- 
executionModeThe 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:
 
- 
executionTypeThe 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:
 
- 
executionTypeThe 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:
 
- 
rollbackMetadataThe 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.
 
- 
rollbackMetadatadefault 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 on- PipelineRollbackMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-