Struct aws_sdk_ssm::input::stop_automation_execution_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for StopAutomationExecutionInput.
Implementations§
source§impl Builder
impl Builder
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.
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 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 build(self) -> Result<StopAutomationExecutionInput, BuildError>
pub fn build(self) -> Result<StopAutomationExecutionInput, BuildError>
Consumes the builder and constructs a StopAutomationExecutionInput.