Struct aws_sdk_ec2::model::ConversionTask
source · #[non_exhaustive]pub struct ConversionTask { /* private fields */ }
Expand description
Describes a conversion 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() -> Builder
pub fn builder() -> Builder
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
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 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
This method tests for
self
and other
values to be equal, and is used
by ==
.