#[non_exhaustive]
pub struct SnapshotTierStatusBuilder { /* private fields */ }
Expand description

A builder for SnapshotTierStatus.

Implementations§

source§

impl SnapshotTierStatusBuilder

source

pub fn snapshot_id(self, input: impl Into<String>) -> Self

The ID of the snapshot.

source

pub fn set_snapshot_id(self, input: Option<String>) -> Self

The ID of the snapshot.

source

pub fn get_snapshot_id(&self) -> &Option<String>

The ID of the snapshot.

source

pub fn volume_id(self, input: impl Into<String>) -> Self

The ID of the volume from which the snapshot was created.

source

pub fn set_volume_id(self, input: Option<String>) -> Self

The ID of the volume from which the snapshot was created.

source

pub fn get_volume_id(&self) -> &Option<String>

The ID of the volume from which the snapshot was created.

source

pub fn status(self, input: SnapshotState) -> Self

The state of the snapshot.

source

pub fn set_status(self, input: Option<SnapshotState>) -> Self

The state of the snapshot.

source

pub fn get_status(&self) -> &Option<SnapshotState>

The state of the snapshot.

source

pub fn owner_id(self, input: impl Into<String>) -> Self

The ID of the Amazon Web Services account that owns the snapshot.

source

pub fn set_owner_id(self, input: Option<String>) -> Self

The ID of the Amazon Web Services account that owns the snapshot.

source

pub fn get_owner_id(&self) -> &Option<String>

The ID of the Amazon Web Services account that owns the snapshot.

source

pub fn tags(self, input: Tag) -> Self

Appends an item to tags.

To override the contents of this collection use set_tags.

The tags that are assigned to the snapshot.

source

pub fn set_tags(self, input: Option<Vec<Tag>>) -> Self

The tags that are assigned to the snapshot.

source

pub fn get_tags(&self) -> &Option<Vec<Tag>>

The tags that are assigned to the snapshot.

source

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.

source

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.

source

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.

source

pub fn last_tiering_start_time(self, input: DateTime) -> Self

The date and time when the last archive or restore process was started.

source

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.

source

pub fn get_last_tiering_start_time(&self) -> &Option<DateTime>

The date and time when the last archive or restore process was started.

source

pub fn last_tiering_progress(self, input: i32) -> Self

The progress of the last archive or restore process, as a percentage.

source

pub fn set_last_tiering_progress(self, input: Option<i32>) -> Self

The progress of the last archive or restore process, as a percentage.

source

pub fn get_last_tiering_progress(&self) -> &Option<i32>

The progress of the last archive or restore process, as a percentage.

source

pub fn last_tiering_operation_status( self, input: TieringOperationStatus ) -> Self

The status of the last archive or restore process.

source

pub fn set_last_tiering_operation_status( self, input: Option<TieringOperationStatus> ) -> Self

The status of the last archive or restore process.

source

pub fn get_last_tiering_operation_status( &self ) -> &Option<TieringOperationStatus>

The status of the last archive or restore process.

source

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.

source

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.

source

pub fn get_last_tiering_operation_status_detail(&self) -> &Option<String>

A message describing the status of the last archive or restore process.

source

pub fn archival_complete_time(self, input: DateTime) -> Self

The date and time when the last archive process was completed.

source

pub fn set_archival_complete_time(self, input: Option<DateTime>) -> Self

The date and time when the last archive process was completed.

source

pub fn get_archival_complete_time(&self) -> &Option<DateTime>

The date and time when the last archive process was completed.

source

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.

source

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.

source

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.

source

pub fn build(self) -> SnapshotTierStatus

Consumes the builder and constructs a SnapshotTierStatus.

Trait Implementations§

source§

impl Clone for SnapshotTierStatusBuilder

source§

fn clone(&self) -> SnapshotTierStatusBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SnapshotTierStatusBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SnapshotTierStatusBuilder

source§

fn default() -> SnapshotTierStatusBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq<SnapshotTierStatusBuilder> for SnapshotTierStatusBuilder

source§

fn eq(&self, other: &SnapshotTierStatusBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for SnapshotTierStatusBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more