pub struct Builder { /* private fields */ }
Expand description
A builder for ActionExecutionDetail
.
Implementations§
source§impl 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 pipeline execution ID for the action execution.
sourcepub fn set_pipeline_execution_id(self, input: Option<String>) -> Self
pub fn set_pipeline_execution_id(self, input: Option<String>) -> Self
The pipeline execution ID for the action execution.
sourcepub fn action_execution_id(self, input: impl Into<String>) -> Self
pub fn action_execution_id(self, input: impl Into<String>) -> Self
The action execution ID.
sourcepub fn set_action_execution_id(self, input: Option<String>) -> Self
pub fn set_action_execution_id(self, input: Option<String>) -> Self
The action execution ID.
sourcepub fn pipeline_version(self, input: i32) -> Self
pub fn pipeline_version(self, input: i32) -> Self
The version of the pipeline where the action was run.
sourcepub fn set_pipeline_version(self, input: Option<i32>) -> Self
pub fn set_pipeline_version(self, input: Option<i32>) -> Self
The version of the pipeline where the action was run.
sourcepub fn stage_name(self, input: impl Into<String>) -> Self
pub fn stage_name(self, input: impl Into<String>) -> Self
The name of the stage that contains the action.
sourcepub fn set_stage_name(self, input: Option<String>) -> Self
pub fn set_stage_name(self, input: Option<String>) -> Self
The name of the stage that contains the action.
sourcepub fn action_name(self, input: impl Into<String>) -> Self
pub fn action_name(self, input: impl Into<String>) -> Self
The name of the action.
sourcepub fn set_action_name(self, input: Option<String>) -> Self
pub fn set_action_name(self, input: Option<String>) -> Self
The name of the action.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start time of the action execution.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start time of the action execution.
sourcepub fn last_update_time(self, input: DateTime) -> Self
pub fn last_update_time(self, input: DateTime) -> Self
The last update time of the action execution.
sourcepub fn set_last_update_time(self, input: Option<DateTime>) -> Self
pub fn set_last_update_time(self, input: Option<DateTime>) -> Self
The last update time of the action execution.
sourcepub fn status(self, input: ActionExecutionStatus) -> Self
pub fn status(self, input: ActionExecutionStatus) -> Self
The status of the action execution. Status categories are InProgress
, Succeeded
, and Failed
.
sourcepub fn set_status(self, input: Option<ActionExecutionStatus>) -> Self
pub fn set_status(self, input: Option<ActionExecutionStatus>) -> Self
The status of the action execution. Status categories are InProgress
, Succeeded
, and Failed
.
sourcepub fn input(self, input: ActionExecutionInput) -> Self
pub fn input(self, input: ActionExecutionInput) -> Self
Input details for the action execution, such as role ARN, Region, and input artifacts.
sourcepub fn set_input(self, input: Option<ActionExecutionInput>) -> Self
pub fn set_input(self, input: Option<ActionExecutionInput>) -> Self
Input details for the action execution, such as role ARN, Region, and input artifacts.
sourcepub fn output(self, input: ActionExecutionOutput) -> Self
pub fn output(self, input: ActionExecutionOutput) -> Self
Output details for the action execution, such as the action execution result.
sourcepub fn set_output(self, input: Option<ActionExecutionOutput>) -> Self
pub fn set_output(self, input: Option<ActionExecutionOutput>) -> Self
Output details for the action execution, such as the action execution result.
sourcepub fn build(self) -> ActionExecutionDetail
pub fn build(self) -> ActionExecutionDetail
Consumes the builder and constructs a ActionExecutionDetail
.