Struct aws_sdk_ec2::types::ExportTask
source · #[non_exhaustive]pub struct ExportTask {
pub description: Option<String>,
pub export_task_id: Option<String>,
pub export_to_s3_task: Option<ExportToS3Task>,
pub instance_export_details: Option<InstanceExportDetails>,
pub state: Option<ExportTaskState>,
pub status_message: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes an export instance task.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.description: Option<String>
A description of the resource being exported.
export_task_id: Option<String>
The ID of the export task.
export_to_s3_task: Option<ExportToS3Task>
Information about the export task.
instance_export_details: Option<InstanceExportDetails>
Information about the instance to export.
state: Option<ExportTaskState>
The state of the export task.
status_message: Option<String>
The status message related to the export task.
The tags for the export task.
Implementations§
source§impl ExportTask
impl ExportTask
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the resource being exported.
sourcepub fn export_task_id(&self) -> Option<&str>
pub fn export_task_id(&self) -> Option<&str>
The ID of the export task.
sourcepub fn export_to_s3_task(&self) -> Option<&ExportToS3Task>
pub fn export_to_s3_task(&self) -> Option<&ExportToS3Task>
Information about the export task.
sourcepub fn instance_export_details(&self) -> Option<&InstanceExportDetails>
pub fn instance_export_details(&self) -> Option<&InstanceExportDetails>
Information about the instance to export.
sourcepub fn state(&self) -> Option<&ExportTaskState>
pub fn state(&self) -> Option<&ExportTaskState>
The state of the export task.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
The status message related to the export task.
The tags for the export task.
source§impl ExportTask
impl ExportTask
sourcepub fn builder() -> ExportTaskBuilder
pub fn builder() -> ExportTaskBuilder
Creates a new builder-style object to manufacture ExportTask
.
Trait Implementations§
source§impl Clone for ExportTask
impl Clone for ExportTask
source§fn clone(&self) -> ExportTask
fn clone(&self) -> ExportTask
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExportTask
impl Debug for ExportTask
source§impl PartialEq<ExportTask> for ExportTask
impl PartialEq<ExportTask> for ExportTask
source§fn eq(&self, other: &ExportTask) -> bool
fn eq(&self, other: &ExportTask) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExportTask
Auto Trait Implementations§
impl RefUnwindSafe for ExportTask
impl Send for ExportTask
impl Sync for ExportTask
impl Unpin for ExportTask
impl UnwindSafe for ExportTask
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more