Struct aws_sdk_ec2::model::export_task::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ExportTask
.
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 resource being exported.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the resource being exported.
sourcepub fn export_task_id(self, input: impl Into<String>) -> Self
pub fn export_task_id(self, input: impl Into<String>) -> Self
The ID of the export task.
sourcepub fn set_export_task_id(self, input: Option<String>) -> Self
pub fn set_export_task_id(self, input: Option<String>) -> Self
The ID of the export task.
sourcepub fn export_to_s3_task(self, input: ExportToS3Task) -> Self
pub fn export_to_s3_task(self, input: ExportToS3Task) -> Self
Information about the export task.
sourcepub fn set_export_to_s3_task(self, input: Option<ExportToS3Task>) -> Self
pub fn set_export_to_s3_task(self, input: Option<ExportToS3Task>) -> Self
Information about the export task.
sourcepub fn instance_export_details(self, input: InstanceExportDetails) -> Self
pub fn instance_export_details(self, input: InstanceExportDetails) -> Self
Information about the instance to export.
sourcepub fn set_instance_export_details(
self,
input: Option<InstanceExportDetails>
) -> Self
pub fn set_instance_export_details(
self,
input: Option<InstanceExportDetails>
) -> Self
Information about the instance to export.
sourcepub fn state(self, input: ExportTaskState) -> Self
pub fn state(self, input: ExportTaskState) -> Self
The state of the export task.
sourcepub fn set_state(self, input: Option<ExportTaskState>) -> Self
pub fn set_state(self, input: Option<ExportTaskState>) -> Self
The state of the export task.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The status message related to the export task.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The status message related to the export task.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags for the export task.
The tags for the export task.
sourcepub fn build(self) -> ExportTask
pub fn build(self) -> ExportTask
Consumes the builder and constructs a ExportTask
.