#[non_exhaustive]pub struct ExportImageOutputBuilder { /* private fields */ }
Expand description
A builder for ExportImageOutput
.
Implementations§
source§impl ExportImageOutputBuilder
impl ExportImageOutputBuilder
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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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 get_disk_image_format(&self) -> &Option<DiskImageFormat>
pub fn get_disk_image_format(&self) -> &Option<DiskImageFormat>
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 get_export_image_task_id(&self) -> &Option<String>
pub fn get_export_image_task_id(&self) -> &Option<String>
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 get_image_id(&self) -> &Option<String>
pub fn get_image_id(&self) -> &Option<String>
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 get_role_name(&self) -> &Option<String>
pub fn get_role_name(&self) -> &Option<String>
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 get_progress(&self) -> &Option<String>
pub fn get_progress(&self) -> &Option<String>
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 get_s3_export_location(&self) -> &Option<ExportTaskS3Location>
pub fn get_s3_export_location(&self) -> &Option<ExportTaskS3Location>
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 get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
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.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
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.
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
.
Trait Implementations§
source§impl Clone for ExportImageOutputBuilder
impl Clone for ExportImageOutputBuilder
source§fn clone(&self) -> ExportImageOutputBuilder
fn clone(&self) -> ExportImageOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportImageOutputBuilder
impl Debug for ExportImageOutputBuilder
source§impl Default for ExportImageOutputBuilder
impl Default for ExportImageOutputBuilder
source§fn default() -> ExportImageOutputBuilder
fn default() -> ExportImageOutputBuilder
source§impl PartialEq<ExportImageOutputBuilder> for ExportImageOutputBuilder
impl PartialEq<ExportImageOutputBuilder> for ExportImageOutputBuilder
source§fn eq(&self, other: &ExportImageOutputBuilder) -> bool
fn eq(&self, other: &ExportImageOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.