Struct aws_sdk_ec2::model::volume_modification::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for VolumeModification
.
Implementations
sourceimpl Builder
impl Builder
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 modification_state(self, input: VolumeModificationState) -> Self
pub fn modification_state(self, input: VolumeModificationState) -> Self
The current modification state. The modification state is null for unmodified volumes.
sourcepub fn set_modification_state(
self,
input: Option<VolumeModificationState>
) -> Self
pub fn set_modification_state(
self,
input: Option<VolumeModificationState>
) -> Self
The current modification state. The modification state is null for unmodified volumes.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
A status message about the modification progress or failure.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
A status message about the modification progress or failure.
sourcepub fn target_size(self, input: i32) -> Self
pub fn target_size(self, input: i32) -> Self
The target size of the volume, in GiB.
sourcepub fn set_target_size(self, input: Option<i32>) -> Self
pub fn set_target_size(self, input: Option<i32>) -> Self
The target size of the volume, in GiB.
sourcepub fn target_iops(self, input: i32) -> Self
pub fn target_iops(self, input: i32) -> Self
The target IOPS rate of the volume.
sourcepub fn set_target_iops(self, input: Option<i32>) -> Self
pub fn set_target_iops(self, input: Option<i32>) -> Self
The target IOPS rate of the volume.
sourcepub fn target_volume_type(self, input: VolumeType) -> Self
pub fn target_volume_type(self, input: VolumeType) -> Self
The target EBS volume type of the volume.
sourcepub fn set_target_volume_type(self, input: Option<VolumeType>) -> Self
pub fn set_target_volume_type(self, input: Option<VolumeType>) -> Self
The target EBS volume type of the volume.
sourcepub fn target_throughput(self, input: i32) -> Self
pub fn target_throughput(self, input: i32) -> Self
The target throughput of the volume, in MiB/s.
sourcepub fn set_target_throughput(self, input: Option<i32>) -> Self
pub fn set_target_throughput(self, input: Option<i32>) -> Self
The target throughput of the volume, in MiB/s.
sourcepub fn target_multi_attach_enabled(self, input: bool) -> Self
pub fn target_multi_attach_enabled(self, input: bool) -> Self
The target setting for Amazon EBS Multi-Attach.
sourcepub fn set_target_multi_attach_enabled(self, input: Option<bool>) -> Self
pub fn set_target_multi_attach_enabled(self, input: Option<bool>) -> Self
The target setting for Amazon EBS Multi-Attach.
sourcepub fn original_size(self, input: i32) -> Self
pub fn original_size(self, input: i32) -> Self
The original size of the volume, in GiB.
sourcepub fn set_original_size(self, input: Option<i32>) -> Self
pub fn set_original_size(self, input: Option<i32>) -> Self
The original size of the volume, in GiB.
sourcepub fn original_iops(self, input: i32) -> Self
pub fn original_iops(self, input: i32) -> Self
The original IOPS rate of the volume.
sourcepub fn set_original_iops(self, input: Option<i32>) -> Self
pub fn set_original_iops(self, input: Option<i32>) -> Self
The original IOPS rate of the volume.
sourcepub fn original_volume_type(self, input: VolumeType) -> Self
pub fn original_volume_type(self, input: VolumeType) -> Self
The original EBS volume type of the volume.
sourcepub fn set_original_volume_type(self, input: Option<VolumeType>) -> Self
pub fn set_original_volume_type(self, input: Option<VolumeType>) -> Self
The original EBS volume type of the volume.
sourcepub fn original_throughput(self, input: i32) -> Self
pub fn original_throughput(self, input: i32) -> Self
The original throughput of the volume, in MiB/s.
sourcepub fn set_original_throughput(self, input: Option<i32>) -> Self
pub fn set_original_throughput(self, input: Option<i32>) -> Self
The original throughput of the volume, in MiB/s.
sourcepub fn original_multi_attach_enabled(self, input: bool) -> Self
pub fn original_multi_attach_enabled(self, input: bool) -> Self
The original setting for Amazon EBS Multi-Attach.
sourcepub fn set_original_multi_attach_enabled(self, input: Option<bool>) -> Self
pub fn set_original_multi_attach_enabled(self, input: Option<bool>) -> Self
The original setting for Amazon EBS Multi-Attach.
sourcepub fn progress(self, input: i64) -> Self
pub fn progress(self, input: i64) -> Self
The modification progress, from 0 to 100 percent complete.
sourcepub fn set_progress(self, input: Option<i64>) -> Self
pub fn set_progress(self, input: Option<i64>) -> Self
The modification progress, from 0 to 100 percent complete.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The modification start time.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The modification start time.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The modification completion or failure time.
sourcepub fn build(self) -> VolumeModification
pub fn build(self) -> VolumeModification
Consumes the builder and constructs a VolumeModification
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more