#[non_exhaustive]pub struct ActionExecutionBuilder { /* private fields */ }
Expand description
A builder for ActionExecution
.
Implementations§
source§impl ActionExecutionBuilder
impl ActionExecutionBuilder
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 get_action_execution_id(&self) -> &Option<String>
pub fn get_action_execution_id(&self) -> &Option<String>
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 get_status(&self) -> &Option<ActionExecutionStatus>
pub fn get_status(&self) -> &Option<ActionExecutionStatus>
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 get_summary(&self) -> &Option<String>
pub fn get_summary(&self) -> &Option<String>
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 get_last_status_change(&self) -> &Option<DateTime>
pub fn get_last_status_change(&self) -> &Option<DateTime>
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 get_token(&self) -> &Option<String>
pub fn get_token(&self) -> &Option<String>
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 get_last_updated_by(&self) -> &Option<String>
pub fn get_last_updated_by(&self) -> &Option<String>
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 get_external_execution_id(&self) -> &Option<String>
pub fn get_external_execution_id(&self) -> &Option<String>
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 Amazon Web Services 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 Amazon Web Services that is used when running the action (for example, an external repository URL).
sourcepub fn get_external_execution_url(&self) -> &Option<String>
pub fn get_external_execution_url(&self) -> &Option<String>
The URL of a resource external to Amazon Web Services 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 get_percent_complete(&self) -> &Option<i32>
pub fn get_percent_complete(&self) -> &Option<i32>
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 Amazon Web Services.
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 Amazon Web Services.
sourcepub fn get_error_details(&self) -> &Option<ErrorDetails>
pub fn get_error_details(&self) -> &Option<ErrorDetails>
The details of an error returned by a URL external to Amazon Web Services.
sourcepub fn build(self) -> ActionExecution
pub fn build(self) -> ActionExecution
Consumes the builder and constructs a ActionExecution
.
Trait Implementations§
source§impl Clone for ActionExecutionBuilder
impl Clone for ActionExecutionBuilder
source§fn clone(&self) -> ActionExecutionBuilder
fn clone(&self) -> ActionExecutionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ActionExecutionBuilder
impl Debug for ActionExecutionBuilder
source§impl Default for ActionExecutionBuilder
impl Default for ActionExecutionBuilder
source§fn default() -> ActionExecutionBuilder
fn default() -> ActionExecutionBuilder
source§impl PartialEq for ActionExecutionBuilder
impl PartialEq for ActionExecutionBuilder
source§fn eq(&self, other: &ActionExecutionBuilder) -> bool
fn eq(&self, other: &ActionExecutionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.