Class DataRepositoryTaskStatus
- java.lang.Object
-
- software.amazon.awssdk.services.fsx.model.DataRepositoryTaskStatus
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataRepositoryTaskStatus.Builder,DataRepositoryTaskStatus>
@Generated("software.amazon.awssdk:codegen") public final class DataRepositoryTaskStatus extends Object implements SdkPojo, Serializable, 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataRepositoryTaskStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataRepositoryTaskStatus.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)LongfailedCount()A running total of the number of files that the task failed to process.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedTime()The time at which the task status was last updated.LongreleasedCapacity()The total amount of data, in GiB, released by an Amazon File Cache AUTO_RELEASE_DATA task that automatically releases files from the cache.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DataRepositoryTaskStatus.Builder>serializableBuilderClass()LongsucceededCount()A running total of the number of files that the task has successfully processed.DataRepositoryTaskStatus.BuildertoBuilder()StringtoString()Returns a string representation of this object.LongtotalCount()The total number of files that the task will process.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
totalCount
public final Long 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
public final Long 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
public final Long 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
public final Instant lastUpdatedTime()
The time at which the task status was last updated.
- Returns:
- The time at which the task status was last updated.
-
releasedCapacity
public final Long 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
public DataRepositoryTaskStatus.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataRepositoryTaskStatus.Builder,DataRepositoryTaskStatus>
-
builder
public static DataRepositoryTaskStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataRepositoryTaskStatus.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-