Struct aws_sdk_ec2::output::export_image_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ExportImageOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the image being exported.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the image being exported.
sourcepub fn disk_image_format(self, input: DiskImageFormat) -> Self
pub fn disk_image_format(self, input: DiskImageFormat) -> Self
The disk image format for the exported image.
sourcepub fn set_disk_image_format(self, input: Option<DiskImageFormat>) -> Self
pub fn set_disk_image_format(self, input: Option<DiskImageFormat>) -> Self
The disk image format for the exported image.
sourcepub fn export_image_task_id(self, input: impl Into<String>) -> Self
pub fn export_image_task_id(self, input: impl Into<String>) -> Self
The ID of the export image task.
sourcepub fn set_export_image_task_id(self, input: Option<String>) -> Self
pub fn set_export_image_task_id(self, input: Option<String>) -> Self
The ID of the export image task.
sourcepub fn set_image_id(self, input: Option<String>) -> Self
pub fn set_image_id(self, input: Option<String>) -> Self
The ID of the image.
sourcepub fn role_name(self, input: impl Into<String>) -> Self
pub fn role_name(self, input: impl Into<String>) -> Self
The name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket.
sourcepub fn set_role_name(self, input: Option<String>) -> Self
pub fn set_role_name(self, input: Option<String>) -> Self
The name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket.
sourcepub fn progress(self, input: impl Into<String>) -> Self
pub fn progress(self, input: impl Into<String>) -> Self
The percent complete of the export image task.
sourcepub fn set_progress(self, input: Option<String>) -> Self
pub fn set_progress(self, input: Option<String>) -> Self
The percent complete of the export image task.
sourcepub fn s3_export_location(self, input: ExportTaskS3Location) -> Self
pub fn s3_export_location(self, input: ExportTaskS3Location) -> Self
Information about the destination Amazon S3 bucket.
sourcepub fn set_s3_export_location(self, input: Option<ExportTaskS3Location>) -> Self
pub fn set_s3_export_location(self, input: Option<ExportTaskS3Location>) -> Self
Information about the destination Amazon S3 bucket.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the export image task. The possible values are active
, completed
, deleting
, and deleted
.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the export image task. The possible values are active
, completed
, deleting
, and deleted
.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The status message for the export image task.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The status message for the export image task.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Any tags assigned to the export image task.
Any tags assigned to the export image task.
sourcepub fn build(self) -> ExportImageOutput
pub fn build(self) -> ExportImageOutput
Consumes the builder and constructs a ExportImageOutput
.