Struct aws_sdk_ec2::types::builders::ImageRecycleBinInfoBuilder
source · #[non_exhaustive]pub struct ImageRecycleBinInfoBuilder { /* private fields */ }
Expand description
A builder for ImageRecycleBinInfo
.
Implementations§
source§impl ImageRecycleBinInfoBuilder
impl ImageRecycleBinInfoBuilder
sourcepub fn set_image_id(self, input: Option<String>) -> Self
pub fn set_image_id(self, input: Option<String>) -> Self
The ID of the AMI.
sourcepub fn get_image_id(&self) -> &Option<String>
pub fn get_image_id(&self) -> &Option<String>
The ID of the AMI.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the AMI.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the AMI.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the AMI.
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 AMI 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 AMI 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 AMI 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 AMI 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 AMI 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 AMI is to be permanently deleted from the Recycle Bin.
sourcepub fn build(self) -> ImageRecycleBinInfo
pub fn build(self) -> ImageRecycleBinInfo
Consumes the builder and constructs a ImageRecycleBinInfo
.
Trait Implementations§
source§impl Clone for ImageRecycleBinInfoBuilder
impl Clone for ImageRecycleBinInfoBuilder
source§fn clone(&self) -> ImageRecycleBinInfoBuilder
fn clone(&self) -> ImageRecycleBinInfoBuilder
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 Debug for ImageRecycleBinInfoBuilder
impl Debug for ImageRecycleBinInfoBuilder
source§impl Default for ImageRecycleBinInfoBuilder
impl Default for ImageRecycleBinInfoBuilder
source§fn default() -> ImageRecycleBinInfoBuilder
fn default() -> ImageRecycleBinInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ImageRecycleBinInfoBuilder> for ImageRecycleBinInfoBuilder
impl PartialEq<ImageRecycleBinInfoBuilder> for ImageRecycleBinInfoBuilder
source§fn eq(&self, other: &ImageRecycleBinInfoBuilder) -> bool
fn eq(&self, other: &ImageRecycleBinInfoBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImageRecycleBinInfoBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ImageRecycleBinInfoBuilder
impl Send for ImageRecycleBinInfoBuilder
impl Sync for ImageRecycleBinInfoBuilder
impl Unpin for ImageRecycleBinInfoBuilder
impl UnwindSafe for ImageRecycleBinInfoBuilder
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
Mutably borrows from an owned value. Read more