Struct aws_sdk_codepipeline::model::action_execution::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for ActionExecution
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn action_execution_id(self, input: impl Into<String>) -> Self
pub fn action_execution_id(self, input: impl Into<String>) -> Self
ID of the workflow action execution in the current stage. Use the GetPipelineState
action to retrieve the current action execution details of the current stage.
For older executions, this field might be empty. The action execution ID is available for executions run on or after March 2020.
sourcepub fn set_action_execution_id(self, input: Option<String>) -> Self
pub fn set_action_execution_id(self, input: Option<String>) -> Self
ID of the workflow action execution in the current stage. Use the GetPipelineState
action to retrieve the current action execution details of the current stage.
For older executions, this field might be empty. The action execution ID is available for executions run on or after March 2020.
sourcepub fn status(self, input: ActionExecutionStatus) -> Self
pub fn status(self, input: ActionExecutionStatus) -> Self
The status of the action, or for a completed action, the last status of the action.
sourcepub fn set_status(self, input: Option<ActionExecutionStatus>) -> Self
pub fn set_status(self, input: Option<ActionExecutionStatus>) -> Self
The status of the action, or for a completed action, the last status of the action.
sourcepub fn set_summary(self, input: Option<String>) -> Self
pub fn set_summary(self, input: Option<String>) -> Self
A summary of the run of the action.
sourcepub fn last_status_change(self, input: DateTime) -> Self
pub fn last_status_change(self, input: DateTime) -> Self
The last status change of the action.
sourcepub fn set_last_status_change(self, input: Option<DateTime>) -> Self
pub fn set_last_status_change(self, input: Option<DateTime>) -> Self
The last status change of the action.
sourcepub fn token(self, input: impl Into<String>) -> Self
pub fn token(self, input: impl Into<String>) -> Self
The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState
command. It is used to validate that the approval request corresponding to this token is still valid.
sourcepub fn set_token(self, input: Option<String>) -> Self
pub fn set_token(self, input: Option<String>) -> Self
The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState
command. It is used to validate that the approval request corresponding to this token is still valid.
sourcepub fn last_updated_by(self, input: impl Into<String>) -> Self
pub fn last_updated_by(self, input: impl Into<String>) -> Self
The ARN of the user who last changed the pipeline.
sourcepub fn set_last_updated_by(self, input: Option<String>) -> Self
pub fn set_last_updated_by(self, input: Option<String>) -> Self
The ARN of the user who last changed the pipeline.
sourcepub fn external_execution_id(self, input: impl Into<String>) -> Self
pub fn external_execution_id(self, input: impl Into<String>) -> Self
The external ID of the run of the action.
sourcepub fn set_external_execution_id(self, input: Option<String>) -> Self
pub fn set_external_execution_id(self, input: Option<String>) -> Self
The external ID of the run of the action.
sourcepub fn external_execution_url(self, input: impl Into<String>) -> Self
pub fn external_execution_url(self, input: impl Into<String>) -> Self
The URL of a resource external to AWS that is used when running the action (for example, an external repository URL).
sourcepub fn set_external_execution_url(self, input: Option<String>) -> Self
pub fn set_external_execution_url(self, input: Option<String>) -> Self
The URL of a resource external to AWS that is used when running the action (for example, an external repository URL).
sourcepub fn percent_complete(self, input: i32) -> Self
pub fn percent_complete(self, input: i32) -> Self
A percentage of completeness of the action as it runs.
sourcepub fn set_percent_complete(self, input: Option<i32>) -> Self
pub fn set_percent_complete(self, input: Option<i32>) -> Self
A percentage of completeness of the action as it runs.
sourcepub fn error_details(self, input: ErrorDetails) -> Self
pub fn error_details(self, input: ErrorDetails) -> Self
The details of an error returned by a URL external to AWS.
sourcepub fn set_error_details(self, input: Option<ErrorDetails>) -> Self
pub fn set_error_details(self, input: Option<ErrorDetails>) -> Self
The details of an error returned by a URL external to AWS.
sourcepub fn build(self) -> ActionExecution
pub fn build(self) -> ActionExecution
Consumes the builder and constructs a ActionExecution
.
Trait Implementations
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