#[non_exhaustive]pub struct VolumeStatusAttachmentStatusBuilder { /* private fields */ }
Expand description
A builder for VolumeStatusAttachmentStatus
.
Implementations§
source§impl VolumeStatusAttachmentStatusBuilder
impl VolumeStatusAttachmentStatusBuilder
sourcepub fn io_performance(self, input: impl Into<String>) -> Self
pub fn io_performance(self, input: impl Into<String>) -> Self
The maximum IOPS supported by the attached instance.
sourcepub fn set_io_performance(self, input: Option<String>) -> Self
pub fn set_io_performance(self, input: Option<String>) -> Self
The maximum IOPS supported by the attached instance.
sourcepub fn get_io_performance(&self) -> &Option<String>
pub fn get_io_performance(&self) -> &Option<String>
The maximum IOPS supported by the attached instance.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of the attached instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of the attached instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The ID of the attached instance.
sourcepub fn build(self) -> VolumeStatusAttachmentStatus
pub fn build(self) -> VolumeStatusAttachmentStatus
Consumes the builder and constructs a VolumeStatusAttachmentStatus
.
Trait Implementations§
source§impl Clone for VolumeStatusAttachmentStatusBuilder
impl Clone for VolumeStatusAttachmentStatusBuilder
source§fn clone(&self) -> VolumeStatusAttachmentStatusBuilder
fn clone(&self) -> VolumeStatusAttachmentStatusBuilder
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 VolumeStatusAttachmentStatusBuilder
impl Default for VolumeStatusAttachmentStatusBuilder
source§fn default() -> VolumeStatusAttachmentStatusBuilder
fn default() -> VolumeStatusAttachmentStatusBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for VolumeStatusAttachmentStatusBuilder
impl PartialEq for VolumeStatusAttachmentStatusBuilder
source§fn eq(&self, other: &VolumeStatusAttachmentStatusBuilder) -> bool
fn eq(&self, other: &VolumeStatusAttachmentStatusBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VolumeStatusAttachmentStatusBuilder
Auto Trait Implementations§
impl Freeze for VolumeStatusAttachmentStatusBuilder
impl RefUnwindSafe for VolumeStatusAttachmentStatusBuilder
impl Send for VolumeStatusAttachmentStatusBuilder
impl Sync for VolumeStatusAttachmentStatusBuilder
impl Unpin for VolumeStatusAttachmentStatusBuilder
impl UnwindSafe for VolumeStatusAttachmentStatusBuilder
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.