@Generated(value="software.amazon.awssdk:codegen") public final class BundleTask extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BundleTask.Builder,BundleTask>
Describes a bundle task.
Modifier and Type | Class and Description |
---|---|
static interface |
BundleTask.Builder |
Modifier and Type | Method and Description |
---|---|
static BundleTask.Builder |
builder() |
String |
bundleId()
The ID of the bundle task.
|
BundleTaskError |
bundleTaskError()
If the task fails, a description of the error.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceId()
The ID of the instance associated with this bundle task.
|
String |
progress()
The level of task completion, as a percent (for example, 20%).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BundleTask.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The time this task started.
|
BundleTaskState |
state()
The state of the task.
|
String |
stateAsString()
The state of the task.
|
Storage |
storage()
The Amazon S3 storage locations.
|
BundleTask.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Instant |
updateTime()
The time of the most recent update for the task.
|
copy
public String bundleId()
The ID of the bundle task.
public BundleTaskError bundleTaskError()
If the task fails, a description of the error.
public String instanceId()
The ID of the instance associated with this bundle task.
public String progress()
The level of task completion, as a percent (for example, 20%).
public Instant startTime()
The time this task started.
public BundleTaskState state()
The state of the task.
If the service returns an enum value that is not available in the current SDK version, state
will return
BundleTaskState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
BundleTaskState
public String stateAsString()
The state of the task.
If the service returns an enum value that is not available in the current SDK version, state
will return
BundleTaskState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
BundleTaskState
public Storage storage()
The Amazon S3 storage locations.
public Instant updateTime()
The time of the most recent update for the task.
public BundleTask.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<BundleTask.Builder,BundleTask>
public static BundleTask.Builder builder()
public static Class<? extends BundleTask.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.