Struct aws_sdk_ec2::operation::describe_volume_attribute::builders::DescribeVolumeAttributeOutputBuilder
source · #[non_exhaustive]pub struct DescribeVolumeAttributeOutputBuilder { /* private fields */ }Expand description
A builder for DescribeVolumeAttributeOutput.
Implementations§
source§impl DescribeVolumeAttributeOutputBuilder
impl DescribeVolumeAttributeOutputBuilder
sourcepub fn auto_enable_io(self, input: AttributeBooleanValue) -> Self
pub fn auto_enable_io(self, input: AttributeBooleanValue) -> Self
The state of autoEnableIO attribute.
sourcepub fn set_auto_enable_io(self, input: Option<AttributeBooleanValue>) -> Self
pub fn set_auto_enable_io(self, input: Option<AttributeBooleanValue>) -> Self
The state of autoEnableIO attribute.
sourcepub fn product_codes(self, input: ProductCode) -> Self
pub fn product_codes(self, input: ProductCode) -> Self
Appends an item to product_codes.
To override the contents of this collection use set_product_codes.
A list of product codes.
sourcepub fn set_product_codes(self, input: Option<Vec<ProductCode>>) -> Self
pub fn set_product_codes(self, input: Option<Vec<ProductCode>>) -> Self
A list of product codes.
sourcepub fn set_volume_id(self, input: Option<String>) -> Self
pub fn set_volume_id(self, input: Option<String>) -> Self
The ID of the volume.
sourcepub fn build(self) -> DescribeVolumeAttributeOutput
pub fn build(self) -> DescribeVolumeAttributeOutput
Consumes the builder and constructs a DescribeVolumeAttributeOutput.
Trait Implementations§
source§impl Clone for DescribeVolumeAttributeOutputBuilder
impl Clone for DescribeVolumeAttributeOutputBuilder
source§fn clone(&self) -> DescribeVolumeAttributeOutputBuilder
fn clone(&self) -> DescribeVolumeAttributeOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for DescribeVolumeAttributeOutputBuilder
impl Default for DescribeVolumeAttributeOutputBuilder
source§fn default() -> DescribeVolumeAttributeOutputBuilder
fn default() -> DescribeVolumeAttributeOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DescribeVolumeAttributeOutputBuilder> for DescribeVolumeAttributeOutputBuilder
impl PartialEq<DescribeVolumeAttributeOutputBuilder> for DescribeVolumeAttributeOutputBuilder
source§fn eq(&self, other: &DescribeVolumeAttributeOutputBuilder) -> bool
fn eq(&self, other: &DescribeVolumeAttributeOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.