CopyableBuilder<BundleTask.Builder,BundleTask>
, SdkBuilder<BundleTask.Builder,BundleTask>
public static interface BundleTask.Builder extends CopyableBuilder<BundleTask.Builder,BundleTask>
Modifier and Type | Method | Description |
---|---|---|
BundleTask.Builder |
bundleId(String bundleId) |
The ID of the bundle task.
|
BundleTask.Builder |
bundleTaskError(BundleTaskError bundleTaskError) |
If the task fails, a description of the error.
|
BundleTask.Builder |
instanceId(String instanceId) |
The ID of the instance associated with this bundle task.
|
BundleTask.Builder |
progress(String progress) |
The level of task completion, as a percent (for example, 20%).
|
BundleTask.Builder |
startTime(Date startTime) |
The time this task started.
|
BundleTask.Builder |
state(String state) |
The state of the task.
|
BundleTask.Builder |
state(BundleTaskState state) |
The state of the task.
|
BundleTask.Builder |
storage(Storage storage) |
The Amazon S3 storage locations.
|
BundleTask.Builder |
updateTime(Date updateTime) |
The time of the most recent update for the task.
|
copy
apply, build
BundleTask.Builder bundleId(String bundleId)
The ID of the bundle task.
bundleId
- The ID of the bundle task.BundleTask.Builder bundleTaskError(BundleTaskError bundleTaskError)
If the task fails, a description of the error.
bundleTaskError
- If the task fails, a description of the error.BundleTask.Builder instanceId(String instanceId)
The ID of the instance associated with this bundle task.
instanceId
- The ID of the instance associated with this bundle task.BundleTask.Builder progress(String progress)
The level of task completion, as a percent (for example, 20%).
progress
- The level of task completion, as a percent (for example, 20%).BundleTask.Builder startTime(Date startTime)
The time this task started.
startTime
- The time this task started.BundleTask.Builder state(String state)
The state of the task.
state
- The state of the task.BundleTaskState
BundleTask.Builder state(BundleTaskState state)
The state of the task.
state
- The state of the task.BundleTaskState
BundleTask.Builder storage(Storage storage)
The Amazon S3 storage locations.
storage
- The Amazon S3 storage locations.BundleTask.Builder updateTime(Date updateTime)
The time of the most recent update for the task.
updateTime
- The time of the most recent update for the task.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.