@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplaceRootVolumeTask extends Object implements Serializable, Cloneable
Information about a root volume replacement task.
Constructor and Description |
---|
ReplaceRootVolumeTask() |
Modifier and Type | Method and Description |
---|---|
ReplaceRootVolumeTask |
clone() |
boolean |
equals(Object obj) |
String |
getCompleteTime()
The time the task completed.
|
String |
getInstanceId()
The ID of the instance for which the root volume replacement task was created.
|
String |
getReplaceRootVolumeTaskId()
The ID of the root volume replacement task.
|
String |
getStartTime()
The time the task was started.
|
List<Tag> |
getTags()
The tags assigned to the task.
|
String |
getTaskState()
The state of the task.
|
int |
hashCode() |
void |
setCompleteTime(String completeTime)
The time the task completed.
|
void |
setInstanceId(String instanceId)
The ID of the instance for which the root volume replacement task was created.
|
void |
setReplaceRootVolumeTaskId(String replaceRootVolumeTaskId)
The ID of the root volume replacement task.
|
void |
setStartTime(String startTime)
The time the task was started.
|
void |
setTags(Collection<Tag> tags)
The tags assigned to the task.
|
void |
setTaskState(String taskState)
The state of the task.
|
String |
toString()
Returns a string representation of this object.
|
ReplaceRootVolumeTask |
withCompleteTime(String completeTime)
The time the task completed.
|
ReplaceRootVolumeTask |
withInstanceId(String instanceId)
The ID of the instance for which the root volume replacement task was created.
|
ReplaceRootVolumeTask |
withReplaceRootVolumeTaskId(String replaceRootVolumeTaskId)
The ID of the root volume replacement task.
|
ReplaceRootVolumeTask |
withStartTime(String startTime)
The time the task was started.
|
ReplaceRootVolumeTask |
withTags(Collection<Tag> tags)
The tags assigned to the task.
|
ReplaceRootVolumeTask |
withTags(Tag... tags)
The tags assigned to the task.
|
ReplaceRootVolumeTask |
withTaskState(ReplaceRootVolumeTaskState taskState)
The state of the task.
|
ReplaceRootVolumeTask |
withTaskState(String taskState)
The state of the task.
|
public void setReplaceRootVolumeTaskId(String replaceRootVolumeTaskId)
The ID of the root volume replacement task.
replaceRootVolumeTaskId
- The ID of the root volume replacement task.public String getReplaceRootVolumeTaskId()
The ID of the root volume replacement task.
public ReplaceRootVolumeTask withReplaceRootVolumeTaskId(String replaceRootVolumeTaskId)
The ID of the root volume replacement task.
replaceRootVolumeTaskId
- The ID of the root volume replacement task.public void setInstanceId(String instanceId)
The ID of the instance for which the root volume replacement task was created.
instanceId
- The ID of the instance for which the root volume replacement task was created.public String getInstanceId()
The ID of the instance for which the root volume replacement task was created.
public ReplaceRootVolumeTask withInstanceId(String instanceId)
The ID of the instance for which the root volume replacement task was created.
instanceId
- The ID of the instance for which the root volume replacement task was created.public void setTaskState(String taskState)
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.
taskState
- 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.
ReplaceRootVolumeTaskState
public String getTaskState()
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.
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.
ReplaceRootVolumeTaskState
public ReplaceRootVolumeTask withTaskState(String taskState)
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.
taskState
- 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.
ReplaceRootVolumeTaskState
public ReplaceRootVolumeTask withTaskState(ReplaceRootVolumeTaskState taskState)
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.
taskState
- 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.
ReplaceRootVolumeTaskState
public void setStartTime(String startTime)
The time the task was started.
startTime
- The time the task was started.public String getStartTime()
The time the task was started.
public ReplaceRootVolumeTask withStartTime(String startTime)
The time the task was started.
startTime
- The time the task was started.public void setCompleteTime(String completeTime)
The time the task completed.
completeTime
- The time the task completed.public String getCompleteTime()
The time the task completed.
public ReplaceRootVolumeTask withCompleteTime(String completeTime)
The time the task completed.
completeTime
- The time the task completed.public List<Tag> getTags()
The tags assigned to the task.
public void setTags(Collection<Tag> tags)
The tags assigned to the task.
tags
- The tags assigned to the task.public ReplaceRootVolumeTask withTags(Tag... tags)
The tags assigned to the task.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags assigned to the task.public ReplaceRootVolumeTask withTags(Collection<Tag> tags)
The tags assigned to the task.
tags
- The tags assigned to the task.public String toString()
toString
in class Object
Object.toString()
public ReplaceRootVolumeTask clone()