Class BundleTask
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BundleTask.Builder,BundleTask>
Describes a bundle task.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic BundleTask.Builderbuilder()final StringbundleId()The ID of the bundle task.final BundleTaskErrorIf the task fails, a description of the error.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe ID of the instance associated with this bundle task.final Stringprogress()The level of task completion, as a percent (for example, 20%).static Class<? extends BundleTask.Builder>final InstantThe time this task started.final BundleTaskStatestate()The state of the task.final StringThe state of the task.final Storagestorage()The Amazon S3 storage locations.final StringtoString()Returns a string representation of this object.final InstantThe time of the most recent update for the task.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
instanceId
The ID of the instance associated with this bundle task.
- Returns:
- The ID of the instance associated with this bundle task.
-
bundleId
The ID of the bundle task.
- Returns:
- The ID of the bundle task.
-
state
The state of the task.
If the service returns an enum value that is not available in the current SDK version,
statewill returnBundleTaskState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the task.
- See Also:
-
stateAsString
The state of the task.
If the service returns an enum value that is not available in the current SDK version,
statewill returnBundleTaskState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the task.
- See Also:
-
startTime
The time this task started.
- Returns:
- The time this task started.
-
updateTime
The time of the most recent update for the task.
- Returns:
- The time of the most recent update for the task.
-
storage
The Amazon S3 storage locations.
- Returns:
- The Amazon S3 storage locations.
-
progress
The level of task completion, as a percent (for example, 20%).
- Returns:
- The level of task completion, as a percent (for example, 20%).
-
bundleTaskError
If the task fails, a description of the error.
- Returns:
- If the task fails, a description of the error.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<BundleTask.Builder,BundleTask>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-