Struct aws_sdk_ec2::model::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
sourceimpl 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.
sourceimpl ConversionTask
impl ConversionTask
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ConversionTask
.
Trait Implementations
sourceimpl Clone for ConversionTask
impl Clone for ConversionTask
sourcefn clone(&self) -> ConversionTask
fn clone(&self) -> ConversionTask
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ConversionTask
impl Debug for ConversionTask
sourceimpl PartialEq<ConversionTask> for ConversionTask
impl PartialEq<ConversionTask> for ConversionTask
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ConversionTask) -> bool
fn ne(&self, other: &ConversionTask) -> bool
This method tests for !=
.
impl StructuralPartialEq for ConversionTask
Auto Trait Implementations
impl RefUnwindSafe for ConversionTask
impl Send for ConversionTask
impl Sync for ConversionTask
impl Unpin for ConversionTask
impl UnwindSafe for ConversionTask
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more