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 ==.