Struct aws_sdk_ssm::input::cancel_command_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for CancelCommandInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn command_id(self, input: impl Into<String>) -> Self
pub fn command_id(self, input: impl Into<String>) -> Self
The ID of the command you want to cancel.
sourcepub fn set_command_id(self, input: Option<String>) -> Self
pub fn set_command_id(self, input: Option<String>) -> Self
The ID of the command you want to cancel.
sourcepub fn instance_ids(self, input: impl Into<String>) -> Self
pub fn instance_ids(self, input: impl Into<String>) -> Self
Appends an item to instance_ids.
To override the contents of this collection use set_instance_ids.
(Optional) A list of managed node IDs on which you want to cancel the command. If not provided, the command is canceled on every node on which it was requested.
sourcepub fn set_instance_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_instance_ids(self, input: Option<Vec<String>>) -> Self
(Optional) A list of managed node IDs on which you want to cancel the command. If not provided, the command is canceled on every node on which it was requested.
sourcepub fn build(self) -> Result<CancelCommandInput, BuildError>
pub fn build(self) -> Result<CancelCommandInput, BuildError>
Consumes the builder and constructs a CancelCommandInput.