@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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updateTime()
The time of the most recent update for the task.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String bundleId()
The ID of the bundle task.
public final BundleTaskError bundleTaskError()
If the task fails, a description of the error.
public final String instanceId()
The ID of the instance associated with this bundle task.
public final String progress()
The level of task completion, as a percent (for example, 20%).
public final Instant startTime()
The time this task started.
public final 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 final 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 final Storage storage()
The Amazon S3 storage locations.
public final Instant updateTime()
The time of the most recent update for the task.
public BundleTask.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<BundleTask.Builder,BundleTask>
public static BundleTask.Builder builder()
public static Class<? extends BundleTask.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.