#[non_exhaustive]pub struct PipelineExecutionSummaryBuilder { /* private fields */ }
Expand description
A builder for PipelineExecutionSummary
.
Implementations§
source§impl PipelineExecutionSummaryBuilder
impl PipelineExecutionSummaryBuilder
sourcepub fn pipeline_execution_id(self, input: impl Into<String>) -> Self
pub fn pipeline_execution_id(self, input: impl Into<String>) -> Self
The ID of the pipeline execution.
sourcepub fn set_pipeline_execution_id(self, input: Option<String>) -> Self
pub fn set_pipeline_execution_id(self, input: Option<String>) -> Self
The ID of the pipeline execution.
sourcepub fn get_pipeline_execution_id(&self) -> &Option<String>
pub fn get_pipeline_execution_id(&self) -> &Option<String>
The ID of the pipeline execution.
sourcepub fn status(self, input: PipelineExecutionStatus) -> Self
pub fn status(self, input: PipelineExecutionStatus) -> Self
The status of the pipeline execution.
-
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.
sourcepub fn set_status(self, input: Option<PipelineExecutionStatus>) -> Self
pub fn set_status(self, input: Option<PipelineExecutionStatus>) -> Self
The status of the pipeline execution.
-
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.
sourcepub fn get_status(&self) -> &Option<PipelineExecutionStatus>
pub fn get_status(&self) -> &Option<PipelineExecutionStatus>
The status of the pipeline execution.
-
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.
sourcepub fn status_summary(self, input: impl Into<String>) -> Self
pub fn status_summary(self, input: impl Into<String>) -> Self
Status summary for the pipeline.
sourcepub fn set_status_summary(self, input: Option<String>) -> Self
pub fn set_status_summary(self, input: Option<String>) -> Self
Status summary for the pipeline.
sourcepub fn get_status_summary(&self) -> &Option<String>
pub fn get_status_summary(&self) -> &Option<String>
Status summary for the pipeline.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The date and time when the pipeline execution began, in timestamp format.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The date and time when the pipeline execution began, in timestamp format.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The date and time when the pipeline execution began, in timestamp format.
sourcepub fn last_update_time(self, input: DateTime) -> Self
pub fn last_update_time(self, input: DateTime) -> Self
The date and time of the last change to the pipeline execution, in timestamp format.
sourcepub fn set_last_update_time(self, input: Option<DateTime>) -> Self
pub fn set_last_update_time(self, input: Option<DateTime>) -> Self
The date and time of the last change to the pipeline execution, in timestamp format.
sourcepub fn get_last_update_time(&self) -> &Option<DateTime>
pub fn get_last_update_time(&self) -> &Option<DateTime>
The date and time of the last change to the pipeline execution, in timestamp format.
sourcepub fn source_revisions(self, input: SourceRevision) -> Self
pub fn source_revisions(self, input: SourceRevision) -> Self
Appends an item to source_revisions
.
To override the contents of this collection use set_source_revisions
.
A list of the source artifact revisions that initiated a pipeline execution.
sourcepub fn set_source_revisions(self, input: Option<Vec<SourceRevision>>) -> Self
pub fn set_source_revisions(self, input: Option<Vec<SourceRevision>>) -> Self
A list of the source artifact revisions that initiated a pipeline execution.
sourcepub fn get_source_revisions(&self) -> &Option<Vec<SourceRevision>>
pub fn get_source_revisions(&self) -> &Option<Vec<SourceRevision>>
A list of the source artifact revisions that initiated a pipeline execution.
sourcepub fn trigger(self, input: ExecutionTrigger) -> Self
pub fn trigger(self, input: ExecutionTrigger) -> Self
The interaction or event that started a pipeline execution, such as automated change detection or a StartPipelineExecution
API call.
sourcepub fn set_trigger(self, input: Option<ExecutionTrigger>) -> Self
pub fn set_trigger(self, input: Option<ExecutionTrigger>) -> Self
The interaction or event that started a pipeline execution, such as automated change detection or a StartPipelineExecution
API call.
sourcepub fn get_trigger(&self) -> &Option<ExecutionTrigger>
pub fn get_trigger(&self) -> &Option<ExecutionTrigger>
The interaction or event that started a pipeline execution, such as automated change detection or a StartPipelineExecution
API call.
sourcepub fn stop_trigger(self, input: StopExecutionTrigger) -> Self
pub fn stop_trigger(self, input: StopExecutionTrigger) -> Self
The interaction that stopped a pipeline execution.
sourcepub fn set_stop_trigger(self, input: Option<StopExecutionTrigger>) -> Self
pub fn set_stop_trigger(self, input: Option<StopExecutionTrigger>) -> Self
The interaction that stopped a pipeline execution.
sourcepub fn get_stop_trigger(&self) -> &Option<StopExecutionTrigger>
pub fn get_stop_trigger(&self) -> &Option<StopExecutionTrigger>
The interaction that stopped a pipeline execution.
sourcepub fn execution_mode(self, input: ExecutionMode) -> Self
pub fn execution_mode(self, input: ExecutionMode) -> Self
The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
sourcepub fn set_execution_mode(self, input: Option<ExecutionMode>) -> Self
pub fn set_execution_mode(self, input: Option<ExecutionMode>) -> Self
The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
sourcepub fn get_execution_mode(&self) -> &Option<ExecutionMode>
pub fn get_execution_mode(&self) -> &Option<ExecutionMode>
The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
sourcepub fn execution_type(self, input: ExecutionType) -> Self
pub fn execution_type(self, input: ExecutionType) -> Self
Type of the pipeline execution.
sourcepub fn set_execution_type(self, input: Option<ExecutionType>) -> Self
pub fn set_execution_type(self, input: Option<ExecutionType>) -> Self
Type of the pipeline execution.
sourcepub fn get_execution_type(&self) -> &Option<ExecutionType>
pub fn get_execution_type(&self) -> &Option<ExecutionType>
Type of the pipeline execution.
sourcepub fn rollback_metadata(self, input: PipelineRollbackMetadata) -> Self
pub fn rollback_metadata(self, input: PipelineRollbackMetadata) -> Self
The metadata for the stage execution to be rolled back.
sourcepub fn set_rollback_metadata(
self,
input: Option<PipelineRollbackMetadata>,
) -> Self
pub fn set_rollback_metadata( self, input: Option<PipelineRollbackMetadata>, ) -> Self
The metadata for the stage execution to be rolled back.
sourcepub fn get_rollback_metadata(&self) -> &Option<PipelineRollbackMetadata>
pub fn get_rollback_metadata(&self) -> &Option<PipelineRollbackMetadata>
The metadata for the stage execution to be rolled back.
sourcepub fn build(self) -> PipelineExecutionSummary
pub fn build(self) -> PipelineExecutionSummary
Consumes the builder and constructs a PipelineExecutionSummary
.
Trait Implementations§
source§impl Clone for PipelineExecutionSummaryBuilder
impl Clone for PipelineExecutionSummaryBuilder
source§fn clone(&self) -> PipelineExecutionSummaryBuilder
fn clone(&self) -> PipelineExecutionSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PipelineExecutionSummaryBuilder
impl Default for PipelineExecutionSummaryBuilder
source§fn default() -> PipelineExecutionSummaryBuilder
fn default() -> PipelineExecutionSummaryBuilder
source§impl PartialEq for PipelineExecutionSummaryBuilder
impl PartialEq for PipelineExecutionSummaryBuilder
source§fn eq(&self, other: &PipelineExecutionSummaryBuilder) -> bool
fn eq(&self, other: &PipelineExecutionSummaryBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PipelineExecutionSummaryBuilder
Auto Trait Implementations§
impl Freeze for PipelineExecutionSummaryBuilder
impl RefUnwindSafe for PipelineExecutionSummaryBuilder
impl Send for PipelineExecutionSummaryBuilder
impl Sync for PipelineExecutionSummaryBuilder
impl Unpin for PipelineExecutionSummaryBuilder
impl UnwindSafe for PipelineExecutionSummaryBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more