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.
This field is required.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 get_pipeline_name(&self) -> &Option<String>
pub fn get_pipeline_name(&self) -> &Option<String>
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 get_pipeline_execution_id(&self) -> &Option<String>
pub fn get_pipeline_execution_id(&self) -> &Option<String>
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 get_abandon(&self) -> &Option<bool>
pub fn get_abandon(&self) -> &Option<bool>
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 get_reason(&self) -> &Option<String>
pub fn get_reason(&self) -> &Option<String>
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
.
source§impl StopPipelineExecutionInputBuilder
impl StopPipelineExecutionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StopPipelineExecutionOutput, SdkError<StopPipelineExecutionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StopPipelineExecutionOutput, SdkError<StopPipelineExecutionError, HttpResponse>>
Sends a request with this input using the given client.
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 for StopPipelineExecutionInputBuilder
impl PartialEq 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 ==
.