#[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 set_device(self, input: Option<String>) -> Self
pub fn set_device(self, input: Option<String>) -> Self
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 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 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 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 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<AttachVolumeOutputBuilder> for AttachVolumeOutputBuilder
impl PartialEq<AttachVolumeOutputBuilder> 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 ==
.