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
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more