Struct aws_sdk_ec2::types::ConversionTask
source · #[non_exhaustive]pub struct ConversionTask {
pub conversion_task_id: Option<String>,
pub expiration_time: Option<String>,
pub import_instance: Option<ImportInstanceTaskDetails>,
pub import_volume: Option<ImportVolumeTaskDetails>,
pub state: Option<ConversionTaskState>,
pub status_message: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes a conversion task.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.conversion_task_id: Option<String>
The ID of the conversion task.
expiration_time: Option<String>
The time when the task expires. If the upload isn't complete before the expiration time, we automatically cancel the task.
import_instance: Option<ImportInstanceTaskDetails>
If the task is for importing an instance, this contains information about the import instance task.
import_volume: Option<ImportVolumeTaskDetails>
If the task is for importing a volume, this contains information about the import volume task.
state: Option<ConversionTaskState>
The state of the conversion task.
status_message: Option<String>
The status message related to the conversion task.
Any tags assigned to the task.
Implementations§
source§impl ConversionTask
impl ConversionTask
sourcepub fn conversion_task_id(&self) -> Option<&str>
pub fn conversion_task_id(&self) -> Option<&str>
The ID of the conversion task.
sourcepub fn expiration_time(&self) -> Option<&str>
pub fn expiration_time(&self) -> Option<&str>
The time when the task expires. If the upload isn't complete before the expiration time, we automatically cancel the task.
sourcepub fn import_instance(&self) -> Option<&ImportInstanceTaskDetails>
pub fn import_instance(&self) -> Option<&ImportInstanceTaskDetails>
If the task is for importing an instance, this contains information about the import instance task.
sourcepub fn import_volume(&self) -> Option<&ImportVolumeTaskDetails>
pub fn import_volume(&self) -> Option<&ImportVolumeTaskDetails>
If the task is for importing a volume, this contains information about the import volume task.
sourcepub fn state(&self) -> Option<&ConversionTaskState>
pub fn state(&self) -> Option<&ConversionTaskState>
The state of the conversion task.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
The status message related to the conversion task.
Any tags assigned to the task.
source§impl ConversionTask
impl ConversionTask
sourcepub fn builder() -> ConversionTaskBuilder
pub fn builder() -> ConversionTaskBuilder
Creates a new builder-style object to manufacture ConversionTask
.
Trait Implementations§
source§impl Clone for ConversionTask
impl Clone for ConversionTask
source§fn clone(&self) -> ConversionTask
fn clone(&self) -> ConversionTask
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConversionTask
impl Debug for ConversionTask
source§impl PartialEq<ConversionTask> for ConversionTask
impl PartialEq<ConversionTask> for ConversionTask
source§fn eq(&self, other: &ConversionTask) -> bool
fn eq(&self, other: &ConversionTask) -> bool
self
and other
values to be equal, and is used
by ==
.