pub struct Builder { /* private fields */ }
Expand description
A builder for PipelineExecutionSummary
.
Implementations
sourceimpl Builder
impl Builder
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 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 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 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 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 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 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 build(self) -> PipelineExecutionSummary
pub fn build(self) -> PipelineExecutionSummary
Consumes the builder and constructs a PipelineExecutionSummary
.
Trait Implementations
sourceimpl PartialEq<Builder> for Builder
impl PartialEq<Builder> for Builder
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more