Class DataRepositoryTaskStatus
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataRepositoryTaskStatus.Builder,DataRepositoryTaskStatus>
Provides the task status showing a running total of the total number of files to be processed, the number successfully processed, and the number of files the task failed to process.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final LongA running total of the number of files that the task failed to process.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe time at which the task status was last updated.final LongThe total amount of data, in GiB, released by an Amazon File Cache AUTO_RELEASE_DATA task that automatically releases files from the cache.static Class<? extends DataRepositoryTaskStatus.Builder> final LongA running total of the number of files that the task has successfully processed.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 LongThe total number of files that the task will process.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
totalCount
The total number of files that the task will process. While a task is executing, the sum of
SucceededCountplusFailedCountmay not equalTotalCount. When the task is complete,TotalCountequals the sum ofSucceededCountplusFailedCount.- Returns:
- The total number of files that the task will process. While a task is executing, the sum of
SucceededCountplusFailedCountmay not equalTotalCount. When the task is complete,TotalCountequals the sum ofSucceededCountplusFailedCount.
-
succeededCount
A running total of the number of files that the task has successfully processed.
- Returns:
- A running total of the number of files that the task has successfully processed.
-
failedCount
A running total of the number of files that the task failed to process.
- Returns:
- A running total of the number of files that the task failed to process.
-
lastUpdatedTime
The time at which the task status was last updated.
- Returns:
- The time at which the task status was last updated.
-
releasedCapacity
The total amount of data, in GiB, released by an Amazon File Cache AUTO_RELEASE_DATA task that automatically releases files from the cache.
- Returns:
- The total amount of data, in GiB, released by an Amazon File Cache AUTO_RELEASE_DATA task that automatically releases files from the cache.
-
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<DataRepositoryTaskStatus.Builder,DataRepositoryTaskStatus> - 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
-