Struct aws_sdk_ec2::types::builders::VolumeModificationBuilder
source · #[non_exhaustive]pub struct VolumeModificationBuilder { /* private fields */ }
Expand description
A builder for VolumeModification
.
Implementations§
source§impl VolumeModificationBuilder
impl VolumeModificationBuilder
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 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 get_modification_state(&self) -> &Option<VolumeModificationState>
pub fn get_modification_state(&self) -> &Option<VolumeModificationState>
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 get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
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 get_target_size(&self) -> &Option<i32>
pub fn get_target_size(&self) -> &Option<i32>
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 get_target_iops(&self) -> &Option<i32>
pub fn get_target_iops(&self) -> &Option<i32>
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 get_target_volume_type(&self) -> &Option<VolumeType>
pub fn get_target_volume_type(&self) -> &Option<VolumeType>
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 get_target_throughput(&self) -> &Option<i32>
pub fn get_target_throughput(&self) -> &Option<i32>
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 get_target_multi_attach_enabled(&self) -> &Option<bool>
pub fn get_target_multi_attach_enabled(&self) -> &Option<bool>
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 get_original_size(&self) -> &Option<i32>
pub fn get_original_size(&self) -> &Option<i32>
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 get_original_iops(&self) -> &Option<i32>
pub fn get_original_iops(&self) -> &Option<i32>
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 get_original_volume_type(&self) -> &Option<VolumeType>
pub fn get_original_volume_type(&self) -> &Option<VolumeType>
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 get_original_throughput(&self) -> &Option<i32>
pub fn get_original_throughput(&self) -> &Option<i32>
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 get_original_multi_attach_enabled(&self) -> &Option<bool>
pub fn get_original_multi_attach_enabled(&self) -> &Option<bool>
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 get_progress(&self) -> &Option<i64>
pub fn get_progress(&self) -> &Option<i64>
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 get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
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 get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
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§
source§impl Clone for VolumeModificationBuilder
impl Clone for VolumeModificationBuilder
source§fn clone(&self) -> VolumeModificationBuilder
fn clone(&self) -> VolumeModificationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VolumeModificationBuilder
impl Debug for VolumeModificationBuilder
source§impl Default for VolumeModificationBuilder
impl Default for VolumeModificationBuilder
source§fn default() -> VolumeModificationBuilder
fn default() -> VolumeModificationBuilder
source§impl PartialEq<VolumeModificationBuilder> for VolumeModificationBuilder
impl PartialEq<VolumeModificationBuilder> for VolumeModificationBuilder
source§fn eq(&self, other: &VolumeModificationBuilder) -> bool
fn eq(&self, other: &VolumeModificationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.