public static interface ReplaceRootVolumeTask.Builder extends SdkPojo, CopyableBuilder<ReplaceRootVolumeTask.Builder,ReplaceRootVolumeTask>
| Modifier and Type | Method and Description |
|---|---|
ReplaceRootVolumeTask.Builder |
completeTime(String completeTime)
The time the task completed.
|
ReplaceRootVolumeTask.Builder |
instanceId(String instanceId)
The ID of the instance for which the root volume replacement task was created.
|
ReplaceRootVolumeTask.Builder |
replaceRootVolumeTaskId(String replaceRootVolumeTaskId)
The ID of the root volume replacement task.
|
ReplaceRootVolumeTask.Builder |
startTime(String startTime)
The time the task was started.
|
ReplaceRootVolumeTask.Builder |
tags(Collection<Tag> tags)
The tags assigned to the task.
|
ReplaceRootVolumeTask.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags assigned to the task.
|
ReplaceRootVolumeTask.Builder |
tags(Tag... tags)
The tags assigned to the task.
|
ReplaceRootVolumeTask.Builder |
taskState(ReplaceRootVolumeTaskState taskState)
The state of the task.
|
ReplaceRootVolumeTask.Builder |
taskState(String taskState)
The state of the task.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildReplaceRootVolumeTask.Builder replaceRootVolumeTaskId(String replaceRootVolumeTaskId)
The ID of the root volume replacement task.
replaceRootVolumeTaskId - The ID of the root volume replacement task.ReplaceRootVolumeTask.Builder instanceId(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.ReplaceRootVolumeTask.Builder taskState(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,
ReplaceRootVolumeTaskStateReplaceRootVolumeTask.Builder taskState(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,
ReplaceRootVolumeTaskStateReplaceRootVolumeTask.Builder startTime(String startTime)
The time the task was started.
startTime - The time the task was started.ReplaceRootVolumeTask.Builder completeTime(String completeTime)
The time the task completed.
completeTime - The time the task completed.ReplaceRootVolumeTask.Builder tags(Collection<Tag> tags)
The tags assigned to the task.
tags - The tags assigned to the task.ReplaceRootVolumeTask.Builder tags(Tag... tags)
The tags assigned to the task.
tags - The tags assigned to the task.ReplaceRootVolumeTask.Builder tags(Consumer<Tag.Builder>... tags)
The tags assigned to the task.
This is a convenience method that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) Copyright © 2022. All rights reserved.