Struct aws_sdk_ec2::types::builders::SnapshotTierStatusBuilder
source · #[non_exhaustive]pub struct SnapshotTierStatusBuilder { /* private fields */ }
Expand description
A builder for SnapshotTierStatus
.
Implementations§
source§impl SnapshotTierStatusBuilder
impl SnapshotTierStatusBuilder
sourcepub fn snapshot_id(self, input: impl Into<String>) -> Self
pub fn snapshot_id(self, input: impl Into<String>) -> Self
The ID of the snapshot.
sourcepub fn set_snapshot_id(self, input: Option<String>) -> Self
pub fn set_snapshot_id(self, input: Option<String>) -> Self
The ID of the snapshot.
sourcepub fn get_snapshot_id(&self) -> &Option<String>
pub fn get_snapshot_id(&self) -> &Option<String>
The ID of the snapshot.
sourcepub fn volume_id(self, input: impl Into<String>) -> Self
pub fn volume_id(self, input: impl Into<String>) -> Self
The ID of the volume from which the snapshot was created.
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 from which the snapshot was created.
sourcepub fn get_volume_id(&self) -> &Option<String>
pub fn get_volume_id(&self) -> &Option<String>
The ID of the volume from which the snapshot was created.
sourcepub fn status(self, input: SnapshotState) -> Self
pub fn status(self, input: SnapshotState) -> Self
The state of the snapshot.
sourcepub fn set_status(self, input: Option<SnapshotState>) -> Self
pub fn set_status(self, input: Option<SnapshotState>) -> Self
The state of the snapshot.
sourcepub fn get_status(&self) -> &Option<SnapshotState>
pub fn get_status(&self) -> &Option<SnapshotState>
The state of the snapshot.
sourcepub fn owner_id(self, input: impl Into<String>) -> Self
pub fn owner_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the snapshot.
sourcepub fn set_owner_id(self, input: Option<String>) -> Self
pub fn set_owner_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the snapshot.
sourcepub fn get_owner_id(&self) -> &Option<String>
pub fn get_owner_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that owns the snapshot.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags that are assigned to the snapshot.
The tags that are assigned to the snapshot.
The tags that are assigned to the snapshot.
sourcepub fn storage_tier(self, input: StorageTier) -> Self
pub fn storage_tier(self, input: StorageTier) -> Self
The storage tier in which the snapshot is stored. standard
indicates that the snapshot is stored in the standard snapshot storage tier and that it is ready for use. archive
indicates that the snapshot is currently archived and that it must be restored before it can be used.
sourcepub fn set_storage_tier(self, input: Option<StorageTier>) -> Self
pub fn set_storage_tier(self, input: Option<StorageTier>) -> Self
The storage tier in which the snapshot is stored. standard
indicates that the snapshot is stored in the standard snapshot storage tier and that it is ready for use. archive
indicates that the snapshot is currently archived and that it must be restored before it can be used.
sourcepub fn get_storage_tier(&self) -> &Option<StorageTier>
pub fn get_storage_tier(&self) -> &Option<StorageTier>
The storage tier in which the snapshot is stored. standard
indicates that the snapshot is stored in the standard snapshot storage tier and that it is ready for use. archive
indicates that the snapshot is currently archived and that it must be restored before it can be used.
sourcepub fn last_tiering_start_time(self, input: DateTime) -> Self
pub fn last_tiering_start_time(self, input: DateTime) -> Self
The date and time when the last archive or restore process was started.
sourcepub fn set_last_tiering_start_time(self, input: Option<DateTime>) -> Self
pub fn set_last_tiering_start_time(self, input: Option<DateTime>) -> Self
The date and time when the last archive or restore process was started.
sourcepub fn get_last_tiering_start_time(&self) -> &Option<DateTime>
pub fn get_last_tiering_start_time(&self) -> &Option<DateTime>
The date and time when the last archive or restore process was started.
sourcepub fn last_tiering_progress(self, input: i32) -> Self
pub fn last_tiering_progress(self, input: i32) -> Self
The progress of the last archive or restore process, as a percentage.
sourcepub fn set_last_tiering_progress(self, input: Option<i32>) -> Self
pub fn set_last_tiering_progress(self, input: Option<i32>) -> Self
The progress of the last archive or restore process, as a percentage.
sourcepub fn get_last_tiering_progress(&self) -> &Option<i32>
pub fn get_last_tiering_progress(&self) -> &Option<i32>
The progress of the last archive or restore process, as a percentage.
sourcepub fn last_tiering_operation_status(
self,
input: TieringOperationStatus
) -> Self
pub fn last_tiering_operation_status( self, input: TieringOperationStatus ) -> Self
The status of the last archive or restore process.
sourcepub fn set_last_tiering_operation_status(
self,
input: Option<TieringOperationStatus>
) -> Self
pub fn set_last_tiering_operation_status( self, input: Option<TieringOperationStatus> ) -> Self
The status of the last archive or restore process.
sourcepub fn get_last_tiering_operation_status(
&self
) -> &Option<TieringOperationStatus>
pub fn get_last_tiering_operation_status( &self ) -> &Option<TieringOperationStatus>
The status of the last archive or restore process.
sourcepub fn last_tiering_operation_status_detail(
self,
input: impl Into<String>
) -> Self
pub fn last_tiering_operation_status_detail( self, input: impl Into<String> ) -> Self
A message describing the status of the last archive or restore process.
sourcepub fn set_last_tiering_operation_status_detail(
self,
input: Option<String>
) -> Self
pub fn set_last_tiering_operation_status_detail( self, input: Option<String> ) -> Self
A message describing the status of the last archive or restore process.
sourcepub fn get_last_tiering_operation_status_detail(&self) -> &Option<String>
pub fn get_last_tiering_operation_status_detail(&self) -> &Option<String>
A message describing the status of the last archive or restore process.
sourcepub fn archival_complete_time(self, input: DateTime) -> Self
pub fn archival_complete_time(self, input: DateTime) -> Self
The date and time when the last archive process was completed.
sourcepub fn set_archival_complete_time(self, input: Option<DateTime>) -> Self
pub fn set_archival_complete_time(self, input: Option<DateTime>) -> Self
The date and time when the last archive process was completed.
sourcepub fn get_archival_complete_time(&self) -> &Option<DateTime>
pub fn get_archival_complete_time(&self) -> &Option<DateTime>
The date and time when the last archive process was completed.
sourcepub fn restore_expiry_time(self, input: DateTime) -> Self
pub fn restore_expiry_time(self, input: DateTime) -> Self
Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.
sourcepub fn set_restore_expiry_time(self, input: Option<DateTime>) -> Self
pub fn set_restore_expiry_time(self, input: Option<DateTime>) -> Self
Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.
sourcepub fn get_restore_expiry_time(&self) -> &Option<DateTime>
pub fn get_restore_expiry_time(&self) -> &Option<DateTime>
Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.
sourcepub fn build(self) -> SnapshotTierStatus
pub fn build(self) -> SnapshotTierStatus
Consumes the builder and constructs a SnapshotTierStatus
.
Trait Implementations§
source§impl Clone for SnapshotTierStatusBuilder
impl Clone for SnapshotTierStatusBuilder
source§fn clone(&self) -> SnapshotTierStatusBuilder
fn clone(&self) -> SnapshotTierStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SnapshotTierStatusBuilder
impl Debug for SnapshotTierStatusBuilder
source§impl Default for SnapshotTierStatusBuilder
impl Default for SnapshotTierStatusBuilder
source§fn default() -> SnapshotTierStatusBuilder
fn default() -> SnapshotTierStatusBuilder
source§impl PartialEq<SnapshotTierStatusBuilder> for SnapshotTierStatusBuilder
impl PartialEq<SnapshotTierStatusBuilder> for SnapshotTierStatusBuilder
source§fn eq(&self, other: &SnapshotTierStatusBuilder) -> bool
fn eq(&self, other: &SnapshotTierStatusBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.