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 get_auto_enable_io(&self) -> &Option<AttributeBooleanValue>
pub fn get_auto_enable_io(&self) -> &Option<AttributeBooleanValue>
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 get_product_codes(&self) -> &Option<Vec<ProductCode>>
pub fn get_product_codes(&self) -> &Option<Vec<ProductCode>>
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 get_volume_id(&self) -> &Option<String>
pub fn get_volume_id(&self) -> &Option<String>
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 for DescribeVolumeAttributeOutputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for DescribeVolumeAttributeOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeVolumeAttributeOutputBuilder
impl RefUnwindSafe for DescribeVolumeAttributeOutputBuilder
impl Send for DescribeVolumeAttributeOutputBuilder
impl Sync for DescribeVolumeAttributeOutputBuilder
impl Unpin for DescribeVolumeAttributeOutputBuilder
impl UnwindSafe for DescribeVolumeAttributeOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.