#[non_exhaustive]pub struct ActionExecutionOutputBuilder { /* private fields */ }
Expand description
A builder for ActionExecutionOutput
.
Implementations§
source§impl ActionExecutionOutputBuilder
impl ActionExecutionOutputBuilder
sourcepub fn output_artifacts(self, input: ArtifactDetail) -> Self
pub fn output_artifacts(self, input: ArtifactDetail) -> Self
Appends an item to output_artifacts
.
To override the contents of this collection use set_output_artifacts
.
Details of output artifacts of the action that correspond to the action execution.
sourcepub fn set_output_artifacts(self, input: Option<Vec<ArtifactDetail>>) -> Self
pub fn set_output_artifacts(self, input: Option<Vec<ArtifactDetail>>) -> Self
Details of output artifacts of the action that correspond to the action execution.
sourcepub fn get_output_artifacts(&self) -> &Option<Vec<ArtifactDetail>>
pub fn get_output_artifacts(&self) -> &Option<Vec<ArtifactDetail>>
Details of output artifacts of the action that correspond to the action execution.
sourcepub fn execution_result(self, input: ActionExecutionResult) -> Self
pub fn execution_result(self, input: ActionExecutionResult) -> Self
Execution result information listed in the output details for an action execution.
sourcepub fn set_execution_result(self, input: Option<ActionExecutionResult>) -> Self
pub fn set_execution_result(self, input: Option<ActionExecutionResult>) -> Self
Execution result information listed in the output details for an action execution.
sourcepub fn get_execution_result(&self) -> &Option<ActionExecutionResult>
pub fn get_execution_result(&self) -> &Option<ActionExecutionResult>
Execution result information listed in the output details for an action execution.
sourcepub fn output_variables(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn output_variables( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to output_variables
.
To override the contents of this collection use set_output_variables
.
The outputVariables field shows the key-value pairs that were output as part of that execution.
sourcepub fn set_output_variables(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_output_variables( self, input: Option<HashMap<String, String>> ) -> Self
The outputVariables field shows the key-value pairs that were output as part of that execution.
sourcepub fn get_output_variables(&self) -> &Option<HashMap<String, String>>
pub fn get_output_variables(&self) -> &Option<HashMap<String, String>>
The outputVariables field shows the key-value pairs that were output as part of that execution.
sourcepub fn build(self) -> ActionExecutionOutput
pub fn build(self) -> ActionExecutionOutput
Consumes the builder and constructs a ActionExecutionOutput
.
Trait Implementations§
source§impl Clone for ActionExecutionOutputBuilder
impl Clone for ActionExecutionOutputBuilder
source§fn clone(&self) -> ActionExecutionOutputBuilder
fn clone(&self) -> ActionExecutionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ActionExecutionOutputBuilder
impl Debug for ActionExecutionOutputBuilder
source§impl Default for ActionExecutionOutputBuilder
impl Default for ActionExecutionOutputBuilder
source§fn default() -> ActionExecutionOutputBuilder
fn default() -> ActionExecutionOutputBuilder
source§impl PartialEq for ActionExecutionOutputBuilder
impl PartialEq for ActionExecutionOutputBuilder
source§fn eq(&self, other: &ActionExecutionOutputBuilder) -> bool
fn eq(&self, other: &ActionExecutionOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.