Struct aws_sdk_opsworks::operation::describe_commands::builders::DescribeCommandsInputBuilder
source · #[non_exhaustive]pub struct DescribeCommandsInputBuilder { /* private fields */ }Expand description
A builder for DescribeCommandsInput.
Implementations§
source§impl DescribeCommandsInputBuilder
impl DescribeCommandsInputBuilder
sourcepub fn deployment_id(self, input: impl Into<String>) -> Self
pub fn deployment_id(self, input: impl Into<String>) -> Self
The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.
sourcepub fn set_deployment_id(self, input: Option<String>) -> Self
pub fn set_deployment_id(self, input: Option<String>) -> Self
The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.
sourcepub fn get_deployment_id(&self) -> &Option<String>
pub fn get_deployment_id(&self) -> &Option<String>
The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.
sourcepub fn command_ids(self, input: impl Into<String>) -> Self
pub fn command_ids(self, input: impl Into<String>) -> Self
Appends an item to command_ids.
To override the contents of this collection use set_command_ids.
An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.
sourcepub fn set_command_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_command_ids(self, input: Option<Vec<String>>) -> Self
An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.
sourcepub fn get_command_ids(&self) -> &Option<Vec<String>>
pub fn get_command_ids(&self) -> &Option<Vec<String>>
An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.
sourcepub fn build(self) -> Result<DescribeCommandsInput, BuildError>
pub fn build(self) -> Result<DescribeCommandsInput, BuildError>
Consumes the builder and constructs a DescribeCommandsInput.
source§impl DescribeCommandsInputBuilder
impl DescribeCommandsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DescribeCommandsOutput, SdkError<DescribeCommandsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DescribeCommandsOutput, SdkError<DescribeCommandsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeCommandsInputBuilder
impl Clone for DescribeCommandsInputBuilder
source§fn clone(&self) -> DescribeCommandsInputBuilder
fn clone(&self) -> DescribeCommandsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeCommandsInputBuilder
impl Debug for DescribeCommandsInputBuilder
source§impl Default for DescribeCommandsInputBuilder
impl Default for DescribeCommandsInputBuilder
source§fn default() -> DescribeCommandsInputBuilder
fn default() -> DescribeCommandsInputBuilder
source§impl PartialEq for DescribeCommandsInputBuilder
impl PartialEq for DescribeCommandsInputBuilder
source§fn eq(&self, other: &DescribeCommandsInputBuilder) -> bool
fn eq(&self, other: &DescribeCommandsInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DescribeCommandsInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeCommandsInputBuilder
impl RefUnwindSafe for DescribeCommandsInputBuilder
impl Send for DescribeCommandsInputBuilder
impl Sync for DescribeCommandsInputBuilder
impl Unpin for DescribeCommandsInputBuilder
impl UnwindSafe for DescribeCommandsInputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more