Struct aws_sdk_ec2::model::ReplaceRootVolumeTask
source · [−]#[non_exhaustive]pub struct ReplaceRootVolumeTask { /* private fields */ }
Expand description
Information about a root volume replacement task.
Implementations
sourceimpl ReplaceRootVolumeTask
impl ReplaceRootVolumeTask
sourcepub fn replace_root_volume_task_id(&self) -> Option<&str>
pub fn replace_root_volume_task_id(&self) -> Option<&str>
The ID of the root volume replacement task.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the instance for which the root volume replacement task was created.
sourcepub fn task_state(&self) -> Option<&ReplaceRootVolumeTaskState>
pub fn task_state(&self) -> Option<&ReplaceRootVolumeTaskState>
The state of the task. The task can be in one of the following states:
-
pending
- the replacement volume is being created. -
in-progress
- the original volume is being detached and the replacement volume is being attached. -
succeeded
- the replacement volume has been successfully attached to the instance and the instance is available. -
failing
- the replacement task is in the process of failing. -
failed
- the replacement task has failed but the original root volume is still attached. -
failing-detached
- the replacement task is in the process of failing. The instance might have no root volume attached. -
failed-detached
- the replacement task has failed and the instance has no root volume attached.
sourcepub fn start_time(&self) -> Option<&str>
pub fn start_time(&self) -> Option<&str>
The time the task was started.
sourcepub fn complete_time(&self) -> Option<&str>
pub fn complete_time(&self) -> Option<&str>
The time the task completed.
The tags assigned to the task.
sourceimpl ReplaceRootVolumeTask
impl ReplaceRootVolumeTask
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReplaceRootVolumeTask
.
Trait Implementations
sourceimpl Clone for ReplaceRootVolumeTask
impl Clone for ReplaceRootVolumeTask
sourcefn clone(&self) -> ReplaceRootVolumeTask
fn clone(&self) -> ReplaceRootVolumeTask
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 ReplaceRootVolumeTask
impl Debug for ReplaceRootVolumeTask
sourceimpl PartialEq<ReplaceRootVolumeTask> for ReplaceRootVolumeTask
impl PartialEq<ReplaceRootVolumeTask> for ReplaceRootVolumeTask
sourcefn eq(&self, other: &ReplaceRootVolumeTask) -> bool
fn eq(&self, other: &ReplaceRootVolumeTask) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for ReplaceRootVolumeTask
Auto Trait Implementations
impl RefUnwindSafe for ReplaceRootVolumeTask
impl Send for ReplaceRootVolumeTask
impl Sync for ReplaceRootVolumeTask
impl Unpin for ReplaceRootVolumeTask
impl UnwindSafe for ReplaceRootVolumeTask
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