#[non_exhaustive]pub struct CancelCommandInputBuilder { /* private fields */ }Expand description
A builder for CancelCommandInput.
Implementations§
source§impl CancelCommandInputBuilder
impl CancelCommandInputBuilder
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.
Trait Implementations§
source§impl Clone for CancelCommandInputBuilder
impl Clone for CancelCommandInputBuilder
source§fn clone(&self) -> CancelCommandInputBuilder
fn clone(&self) -> CancelCommandInputBuilder
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 Debug for CancelCommandInputBuilder
impl Debug for CancelCommandInputBuilder
source§impl Default for CancelCommandInputBuilder
impl Default for CancelCommandInputBuilder
source§fn default() -> CancelCommandInputBuilder
fn default() -> CancelCommandInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CancelCommandInputBuilder> for CancelCommandInputBuilder
impl PartialEq<CancelCommandInputBuilder> for CancelCommandInputBuilder
source§fn eq(&self, other: &CancelCommandInputBuilder) -> bool
fn eq(&self, other: &CancelCommandInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.