Struct aws_sdk_ssm::operation::stop_automation_execution::builders::StopAutomationExecutionInputBuilder
source · #[non_exhaustive]pub struct StopAutomationExecutionInputBuilder { /* private fields */ }
Expand description
A builder for StopAutomationExecutionInput
.
Implementations§
source§impl StopAutomationExecutionInputBuilder
impl StopAutomationExecutionInputBuilder
sourcepub fn automation_execution_id(self, input: impl Into<String>) -> Self
pub fn automation_execution_id(self, input: impl Into<String>) -> Self
The execution ID of the Automation to stop.
This field is required.sourcepub fn set_automation_execution_id(self, input: Option<String>) -> Self
pub fn set_automation_execution_id(self, input: Option<String>) -> Self
The execution ID of the Automation to stop.
sourcepub fn get_automation_execution_id(&self) -> &Option<String>
pub fn get_automation_execution_id(&self) -> &Option<String>
The execution ID of the Automation to stop.
sourcepub fn type(self, input: StopType) -> Self
pub fn type(self, input: StopType) -> Self
The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.
sourcepub fn set_type(self, input: Option<StopType>) -> Self
pub fn set_type(self, input: Option<StopType>) -> Self
The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.
sourcepub fn get_type(&self) -> &Option<StopType>
pub fn get_type(&self) -> &Option<StopType>
The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.
sourcepub fn build(self) -> Result<StopAutomationExecutionInput, BuildError>
pub fn build(self) -> Result<StopAutomationExecutionInput, BuildError>
Consumes the builder and constructs a StopAutomationExecutionInput
.
source§impl StopAutomationExecutionInputBuilder
impl StopAutomationExecutionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StopAutomationExecutionOutput, SdkError<StopAutomationExecutionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StopAutomationExecutionOutput, SdkError<StopAutomationExecutionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StopAutomationExecutionInputBuilder
impl Clone for StopAutomationExecutionInputBuilder
source§fn clone(&self) -> StopAutomationExecutionInputBuilder
fn clone(&self) -> StopAutomationExecutionInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for StopAutomationExecutionInputBuilder
impl Default for StopAutomationExecutionInputBuilder
source§fn default() -> StopAutomationExecutionInputBuilder
fn default() -> StopAutomationExecutionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StopAutomationExecutionInputBuilder
impl PartialEq for StopAutomationExecutionInputBuilder
source§fn eq(&self, other: &StopAutomationExecutionInputBuilder) -> bool
fn eq(&self, other: &StopAutomationExecutionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StopAutomationExecutionInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for StopAutomationExecutionInputBuilder
impl Send for StopAutomationExecutionInputBuilder
impl Sync for StopAutomationExecutionInputBuilder
impl Unpin for StopAutomationExecutionInputBuilder
impl UnwindSafe for StopAutomationExecutionInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.