#[non_exhaustive]pub struct AttachVolumeOutputBuilder { /* private fields */ }
Expand description
A builder for AttachVolumeOutput
.
Implementations§
source§impl AttachVolumeOutputBuilder
impl AttachVolumeOutputBuilder
sourcepub fn attach_time(self, input: DateTime) -> Self
pub fn attach_time(self, input: DateTime) -> Self
The time stamp when the attachment initiated.
sourcepub fn set_attach_time(self, input: Option<DateTime>) -> Self
pub fn set_attach_time(self, input: Option<DateTime>) -> Self
The time stamp when the attachment initiated.
sourcepub fn get_attach_time(&self) -> &Option<DateTime>
pub fn get_attach_time(&self) -> &Option<DateTime>
The time stamp when the attachment initiated.
sourcepub fn set_device(self, input: Option<String>) -> Self
pub fn set_device(self, input: Option<String>) -> Self
The device name.
sourcepub fn get_device(&self) -> &Option<String>
pub fn get_device(&self) -> &Option<String>
The device name.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of the 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 instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The ID of the instance.
sourcepub fn state(self, input: VolumeAttachmentState) -> Self
pub fn state(self, input: VolumeAttachmentState) -> Self
The attachment state of the volume.
sourcepub fn set_state(self, input: Option<VolumeAttachmentState>) -> Self
pub fn set_state(self, input: Option<VolumeAttachmentState>) -> Self
The attachment state of the volume.
sourcepub fn get_state(&self) -> &Option<VolumeAttachmentState>
pub fn get_state(&self) -> &Option<VolumeAttachmentState>
The attachment state of the volume.
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 delete_on_termination(self, input: bool) -> Self
pub fn delete_on_termination(self, input: bool) -> Self
Indicates whether the EBS volume is deleted on instance termination.
sourcepub fn set_delete_on_termination(self, input: Option<bool>) -> Self
pub fn set_delete_on_termination(self, input: Option<bool>) -> Self
Indicates whether the EBS volume is deleted on instance termination.
sourcepub fn get_delete_on_termination(&self) -> &Option<bool>
pub fn get_delete_on_termination(&self) -> &Option<bool>
Indicates whether the EBS volume is deleted on instance termination.
sourcepub fn build(self) -> AttachVolumeOutput
pub fn build(self) -> AttachVolumeOutput
Consumes the builder and constructs a AttachVolumeOutput
.
Trait Implementations§
source§impl Clone for AttachVolumeOutputBuilder
impl Clone for AttachVolumeOutputBuilder
source§fn clone(&self) -> AttachVolumeOutputBuilder
fn clone(&self) -> AttachVolumeOutputBuilder
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 Debug for AttachVolumeOutputBuilder
impl Debug for AttachVolumeOutputBuilder
source§impl Default for AttachVolumeOutputBuilder
impl Default for AttachVolumeOutputBuilder
source§fn default() -> AttachVolumeOutputBuilder
fn default() -> AttachVolumeOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AttachVolumeOutputBuilder
impl PartialEq for AttachVolumeOutputBuilder
source§fn eq(&self, other: &AttachVolumeOutputBuilder) -> bool
fn eq(&self, other: &AttachVolumeOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AttachVolumeOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AttachVolumeOutputBuilder
impl Send for AttachVolumeOutputBuilder
impl Sync for AttachVolumeOutputBuilder
impl Unpin for AttachVolumeOutputBuilder
impl UnwindSafe for AttachVolumeOutputBuilder
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>
Creates a shared type from an unshared type.