Struct aws_sdk_codepipeline::operation::stop_pipeline_execution::builders::StopPipelineExecutionInputBuilder
source · #[non_exhaustive]pub struct StopPipelineExecutionInputBuilder { /* private fields */ }Expand description
A builder for StopPipelineExecutionInput.
Implementations§
source§impl StopPipelineExecutionInputBuilder
impl StopPipelineExecutionInputBuilder
sourcepub fn pipeline_name(self, input: impl Into<String>) -> Self
pub fn pipeline_name(self, input: impl Into<String>) -> Self
The name of the pipeline to stop.
sourcepub fn set_pipeline_name(self, input: Option<String>) -> Self
pub fn set_pipeline_name(self, input: Option<String>) -> Self
The name of the pipeline to stop.
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 to be stopped in the current stage. Use the GetPipelineState action to retrieve the current pipelineExecutionId.
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 to be stopped in the current stage. Use the GetPipelineState action to retrieve the current pipelineExecutionId.
sourcepub fn abandon(self, input: bool) -> Self
pub fn abandon(self, input: bool) -> Self
Use this option to stop the pipeline execution by abandoning, rather than finishing, in-progress actions.
This option can lead to failed or out-of-sequence tasks.
sourcepub fn set_abandon(self, input: Option<bool>) -> Self
pub fn set_abandon(self, input: Option<bool>) -> Self
Use this option to stop the pipeline execution by abandoning, rather than finishing, in-progress actions.
This option can lead to failed or out-of-sequence tasks.
sourcepub fn reason(self, input: impl Into<String>) -> Self
pub fn reason(self, input: impl Into<String>) -> Self
Use this option to enter comments, such as the reason the pipeline was stopped.
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
Use this option to enter comments, such as the reason the pipeline was stopped.
sourcepub fn build(self) -> Result<StopPipelineExecutionInput, BuildError>
pub fn build(self) -> Result<StopPipelineExecutionInput, BuildError>
Consumes the builder and constructs a StopPipelineExecutionInput.
Trait Implementations§
source§impl Clone for StopPipelineExecutionInputBuilder
impl Clone for StopPipelineExecutionInputBuilder
source§fn clone(&self) -> StopPipelineExecutionInputBuilder
fn clone(&self) -> StopPipelineExecutionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StopPipelineExecutionInputBuilder
impl Default for StopPipelineExecutionInputBuilder
source§fn default() -> StopPipelineExecutionInputBuilder
fn default() -> StopPipelineExecutionInputBuilder
source§impl PartialEq<StopPipelineExecutionInputBuilder> for StopPipelineExecutionInputBuilder
impl PartialEq<StopPipelineExecutionInputBuilder> for StopPipelineExecutionInputBuilder
source§fn eq(&self, other: &StopPipelineExecutionInputBuilder) -> bool
fn eq(&self, other: &StopPipelineExecutionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.