Struct aws_sdk_ec2::types::builders::SnapshotRecycleBinInfoBuilder
source · #[non_exhaustive]pub struct SnapshotRecycleBinInfoBuilder { /* private fields */ }Expand description
A builder for SnapshotRecycleBinInfo.
Implementations§
source§impl SnapshotRecycleBinInfoBuilder
impl SnapshotRecycleBinInfoBuilder
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 recycle_bin_enter_time(self, input: DateTime) -> Self
pub fn recycle_bin_enter_time(self, input: DateTime) -> Self
The date and time when the snaphsot entered the Recycle Bin.
sourcepub fn set_recycle_bin_enter_time(self, input: Option<DateTime>) -> Self
pub fn set_recycle_bin_enter_time(self, input: Option<DateTime>) -> Self
The date and time when the snaphsot entered the Recycle Bin.
sourcepub fn get_recycle_bin_enter_time(&self) -> &Option<DateTime>
pub fn get_recycle_bin_enter_time(&self) -> &Option<DateTime>
The date and time when the snaphsot entered the Recycle Bin.
sourcepub fn recycle_bin_exit_time(self, input: DateTime) -> Self
pub fn recycle_bin_exit_time(self, input: DateTime) -> Self
The date and time when the snapshot is to be permanently deleted from the Recycle Bin.
sourcepub fn set_recycle_bin_exit_time(self, input: Option<DateTime>) -> Self
pub fn set_recycle_bin_exit_time(self, input: Option<DateTime>) -> Self
The date and time when the snapshot is to be permanently deleted from the Recycle Bin.
sourcepub fn get_recycle_bin_exit_time(&self) -> &Option<DateTime>
pub fn get_recycle_bin_exit_time(&self) -> &Option<DateTime>
The date and time when the snapshot is to be permanently deleted from the Recycle Bin.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for the snapshot.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for the snapshot.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for 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 build(self) -> SnapshotRecycleBinInfo
pub fn build(self) -> SnapshotRecycleBinInfo
Consumes the builder and constructs a SnapshotRecycleBinInfo.
Trait Implementations§
source§impl Clone for SnapshotRecycleBinInfoBuilder
impl Clone for SnapshotRecycleBinInfoBuilder
source§fn clone(&self) -> SnapshotRecycleBinInfoBuilder
fn clone(&self) -> SnapshotRecycleBinInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SnapshotRecycleBinInfoBuilder
impl Default for SnapshotRecycleBinInfoBuilder
source§fn default() -> SnapshotRecycleBinInfoBuilder
fn default() -> SnapshotRecycleBinInfoBuilder
source§impl PartialEq for SnapshotRecycleBinInfoBuilder
impl PartialEq for SnapshotRecycleBinInfoBuilder
source§fn eq(&self, other: &SnapshotRecycleBinInfoBuilder) -> bool
fn eq(&self, other: &SnapshotRecycleBinInfoBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SnapshotRecycleBinInfoBuilder
Auto Trait Implementations§
impl Freeze for SnapshotRecycleBinInfoBuilder
impl RefUnwindSafe for SnapshotRecycleBinInfoBuilder
impl Send for SnapshotRecycleBinInfoBuilder
impl Sync for SnapshotRecycleBinInfoBuilder
impl Unpin for SnapshotRecycleBinInfoBuilder
impl UnwindSafe for SnapshotRecycleBinInfoBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more