Struct aws_sdk_ec2::model::image_recycle_bin_info::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ImageRecycleBinInfo
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 build(self) -> ImageRecycleBinInfo
pub fn build(self) -> ImageRecycleBinInfo
Consumes the builder and constructs a ImageRecycleBinInfo
.