#[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.
This field is required.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 get_command_id(&self) -> &Option<String>
pub fn get_command_id(&self) -> &Option<String>
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 get_instance_ids(&self) -> &Option<Vec<String>>
pub fn get_instance_ids(&self) -> &Option<Vec<String>>
(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
.
source§impl CancelCommandInputBuilder
impl CancelCommandInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CancelCommandOutput, SdkError<CancelCommandError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CancelCommandOutput, SdkError<CancelCommandError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CancelCommandInputBuilder
impl Clone for CancelCommandInputBuilder
source§fn clone(&self) -> CancelCommandInputBuilder
fn clone(&self) -> CancelCommandInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for CancelCommandInputBuilder
impl PartialEq for CancelCommandInputBuilder
source§fn eq(&self, other: &CancelCommandInputBuilder) -> bool
fn eq(&self, other: &CancelCommandInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.