Struct aws_sdk_ec2::input::cancel_export_task_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CancelExportTaskInput
.
Implementations§
source§impl Builder
impl Builder
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. This is the ID returned by CreateInstanceExportTask
.
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. This is the ID returned by CreateInstanceExportTask
.
sourcepub fn build(self) -> Result<CancelExportTaskInput, BuildError>
pub fn build(self) -> Result<CancelExportTaskInput, BuildError>
Consumes the builder and constructs a CancelExportTaskInput
.