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 ==
.impl StructuralPartialEq for StopPipelineExecutionInputBuilder
Auto Trait Implementations§
impl Freeze for StopPipelineExecutionInputBuilder
impl RefUnwindSafe for StopPipelineExecutionInputBuilder
impl Send for StopPipelineExecutionInputBuilder
impl Sync for StopPipelineExecutionInputBuilder
impl Unpin for StopPipelineExecutionInputBuilder
impl UnwindSafe for StopPipelineExecutionInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more