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) Indicates whether some other object is "equal to" this one by SDK fields.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.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final InstantThe time of the most recent update for the task.Methods 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
-
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
-
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<BundleTask.Builder,BundleTask> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-