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 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 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 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 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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for SnapshotRecycleBinInfoBuilder
impl Default for SnapshotRecycleBinInfoBuilder
source§fn default() -> SnapshotRecycleBinInfoBuilder
fn default() -> SnapshotRecycleBinInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SnapshotRecycleBinInfoBuilder> for SnapshotRecycleBinInfoBuilder
impl PartialEq<SnapshotRecycleBinInfoBuilder> for SnapshotRecycleBinInfoBuilder
source§fn eq(&self, other: &SnapshotRecycleBinInfoBuilder) -> bool
fn eq(&self, other: &SnapshotRecycleBinInfoBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.