@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataRepositoryTaskStatus extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
DataRepositoryTaskStatus() |
Modifier and Type | Method and Description |
---|---|
DataRepositoryTaskStatus |
clone() |
boolean |
equals(Object obj) |
Long |
getFailedCount()
A running total of the number of files that the task failed to process.
|
Date |
getLastUpdatedTime()
The time at which the task status was last updated.
|
Long |
getReleasedCapacity()
The total amount of data, in GiB, released by an Amazon File Cache AUTO_RELEASE_DATA task that automatically
releases files from the cache.
|
Long |
getSucceededCount()
A running total of the number of files that the task has successfully processed.
|
Long |
getTotalCount()
The total number of files that the task will process.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailedCount(Long failedCount)
A running total of the number of files that the task failed to process.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
The time at which the task status was last updated.
|
void |
setReleasedCapacity(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.
|
void |
setSucceededCount(Long succeededCount)
A running total of the number of files that the task has successfully processed.
|
void |
setTotalCount(Long totalCount)
The total number of files that the task will process.
|
String |
toString()
Returns a string representation of this object.
|
DataRepositoryTaskStatus |
withFailedCount(Long failedCount)
A running total of the number of files that the task failed to process.
|
DataRepositoryTaskStatus |
withLastUpdatedTime(Date lastUpdatedTime)
The time at which the task status was last updated.
|
DataRepositoryTaskStatus |
withReleasedCapacity(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.
|
DataRepositoryTaskStatus |
withSucceededCount(Long succeededCount)
A running total of the number of files that the task has successfully processed.
|
DataRepositoryTaskStatus |
withTotalCount(Long totalCount)
The total number of files that the task will process.
|
public void setTotalCount(Long totalCount)
The total number of files that the task will process. While a task is executing, the sum of
SucceededCount
plus FailedCount
may not equal TotalCount
. When the task is
complete, TotalCount
equals the sum of SucceededCount
plus FailedCount
.
totalCount
- The total number of files that the task will process. While a task is executing, the sum of
SucceededCount
plus FailedCount
may not equal TotalCount
. When the
task is complete, TotalCount
equals the sum of SucceededCount
plus
FailedCount
.public Long getTotalCount()
The total number of files that the task will process. While a task is executing, the sum of
SucceededCount
plus FailedCount
may not equal TotalCount
. When the task is
complete, TotalCount
equals the sum of SucceededCount
plus FailedCount
.
SucceededCount
plus FailedCount
may not equal TotalCount
. When the
task is complete, TotalCount
equals the sum of SucceededCount
plus
FailedCount
.public DataRepositoryTaskStatus withTotalCount(Long totalCount)
The total number of files that the task will process. While a task is executing, the sum of
SucceededCount
plus FailedCount
may not equal TotalCount
. When the task is
complete, TotalCount
equals the sum of SucceededCount
plus FailedCount
.
totalCount
- The total number of files that the task will process. While a task is executing, the sum of
SucceededCount
plus FailedCount
may not equal TotalCount
. When the
task is complete, TotalCount
equals the sum of SucceededCount
plus
FailedCount
.public void setSucceededCount(Long succeededCount)
A running total of the number of files that the task has successfully processed.
succeededCount
- A running total of the number of files that the task has successfully processed.public Long getSucceededCount()
A running total of the number of files that the task has successfully processed.
public DataRepositoryTaskStatus withSucceededCount(Long succeededCount)
A running total of the number of files that the task has successfully processed.
succeededCount
- A running total of the number of files that the task has successfully processed.public void setFailedCount(Long failedCount)
A running total of the number of files that the task failed to process.
failedCount
- A running total of the number of files that the task failed to process.public Long getFailedCount()
A running total of the number of files that the task failed to process.
public DataRepositoryTaskStatus withFailedCount(Long failedCount)
A running total of the number of files that the task failed to process.
failedCount
- A running total of the number of files that the task failed to process.public void setLastUpdatedTime(Date lastUpdatedTime)
The time at which the task status was last updated.
lastUpdatedTime
- The time at which the task status was last updated.public Date getLastUpdatedTime()
The time at which the task status was last updated.
public DataRepositoryTaskStatus withLastUpdatedTime(Date lastUpdatedTime)
The time at which the task status was last updated.
lastUpdatedTime
- The time at which the task status was last updated.public void setReleasedCapacity(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.
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.public Long getReleasedCapacity()
The total amount of data, in GiB, released by an Amazon File Cache AUTO_RELEASE_DATA task that automatically releases files from the cache.
public DataRepositoryTaskStatus withReleasedCapacity(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.
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.public String toString()
toString
in class Object
Object.toString()
public DataRepositoryTaskStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.