Struct aws_sdk_opsworks::operation::describe_raid_arrays::builders::DescribeRaidArraysInputBuilder
source · #[non_exhaustive]pub struct DescribeRaidArraysInputBuilder { /* private fields */ }Expand description
A builder for DescribeRaidArraysInput.
Implementations§
source§impl DescribeRaidArraysInputBuilder
impl DescribeRaidArraysInputBuilder
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 use this parameter, DescribeRaidArrays returns descriptions of the RAID arrays 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 use this parameter, DescribeRaidArrays returns descriptions of the RAID arrays 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 use this parameter, DescribeRaidArrays returns descriptions of the RAID arrays associated with the specified instance.
sourcepub fn set_stack_id(self, input: Option<String>) -> Self
pub fn set_stack_id(self, input: Option<String>) -> Self
The stack ID.
sourcepub fn get_stack_id(&self) -> &Option<String>
pub fn get_stack_id(&self) -> &Option<String>
The stack ID.
sourcepub fn raid_array_ids(self, input: impl Into<String>) -> Self
pub fn raid_array_ids(self, input: impl Into<String>) -> Self
Appends an item to raid_array_ids.
To override the contents of this collection use set_raid_array_ids.
An array of RAID array IDs. If you use this parameter, DescribeRaidArrays returns descriptions of the specified arrays. Otherwise, it returns a description of every array.
sourcepub fn set_raid_array_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_raid_array_ids(self, input: Option<Vec<String>>) -> Self
An array of RAID array IDs. If you use this parameter, DescribeRaidArrays returns descriptions of the specified arrays. Otherwise, it returns a description of every array.
sourcepub fn get_raid_array_ids(&self) -> &Option<Vec<String>>
pub fn get_raid_array_ids(&self) -> &Option<Vec<String>>
An array of RAID array IDs. If you use this parameter, DescribeRaidArrays returns descriptions of the specified arrays. Otherwise, it returns a description of every array.
sourcepub fn build(self) -> Result<DescribeRaidArraysInput, BuildError>
pub fn build(self) -> Result<DescribeRaidArraysInput, BuildError>
Consumes the builder and constructs a DescribeRaidArraysInput.
source§impl DescribeRaidArraysInputBuilder
impl DescribeRaidArraysInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeRaidArraysOutput, SdkError<DescribeRaidArraysError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeRaidArraysOutput, SdkError<DescribeRaidArraysError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeRaidArraysInputBuilder
impl Clone for DescribeRaidArraysInputBuilder
source§fn clone(&self) -> DescribeRaidArraysInputBuilder
fn clone(&self) -> DescribeRaidArraysInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeRaidArraysInputBuilder
impl Default for DescribeRaidArraysInputBuilder
source§fn default() -> DescribeRaidArraysInputBuilder
fn default() -> DescribeRaidArraysInputBuilder
source§impl PartialEq for DescribeRaidArraysInputBuilder
impl PartialEq for DescribeRaidArraysInputBuilder
source§fn eq(&self, other: &DescribeRaidArraysInputBuilder) -> bool
fn eq(&self, other: &DescribeRaidArraysInputBuilder) -> bool
self and other values to be equal, and is used
by ==.