Struct aws_sdk_opsworks::operation::describe_raid_arrays::builders::DescribeRaidArraysFluentBuilder
source · pub struct DescribeRaidArraysFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeRaidArrays.
Describe an instance's RAID arrays.
This call accepts only one resource-identifying parameter.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
Implementations§
source§impl DescribeRaidArraysFluentBuilder
impl DescribeRaidArraysFluentBuilder
sourcepub fn as_input(&self) -> &DescribeRaidArraysInputBuilder
pub fn as_input(&self) -> &DescribeRaidArraysInputBuilder
Access the DescribeRaidArrays as a reference.
sourcepub async fn send(
self
) -> Result<DescribeRaidArraysOutput, SdkError<DescribeRaidArraysError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeRaidArraysOutput, SdkError<DescribeRaidArraysError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DescribeRaidArraysOutput, DescribeRaidArraysError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeRaidArraysOutput, DescribeRaidArraysError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 RaidArrayIds.
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.
Trait Implementations§
source§impl Clone for DescribeRaidArraysFluentBuilder
impl Clone for DescribeRaidArraysFluentBuilder
source§fn clone(&self) -> DescribeRaidArraysFluentBuilder
fn clone(&self) -> DescribeRaidArraysFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more