Package com.emc.object.s3.bean
Class BucketDeletionStatus
- java.lang.Object
-
- com.emc.object.s3.bean.BucketDeletionStatus
-
public class BucketDeletionStatus extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BucketDeletionStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
getApproximateObjectCount()
Approximate count of objects in the bucket before deletionjava.lang.Double
getApproximateTotalSize()
Approximate total size of the bucket before deletionjava.lang.String
getApproximateTotalSizeUnitString()
Unit of the approximate bucket total sizejava.util.Date
getCreated()
Timestamp when the operation was createdjava.lang.Long
getEntriesDeleted()
Number of entries deletedjava.lang.Long
getFailedToDeleteDangling()
Number of entries failed to delete due to failed dangling cleanupjava.lang.Long
getFailedToDeleteOther()
Number of entries failed to delete due to other reasonsjava.lang.Long
getFailedToDeletePermission()
Number of entries failed to delete due to permissionjava.lang.Long
getFailedToDeleteRetention()
Number of entries unable to delete due to retentionjava.util.Date
getLastUpdated()
Timestamp of the last time the operation status was updatedjava.lang.String
getMessage()
Optional additional information about the statusjava.lang.String
getStatus()
Overall status of the bucket delete task Valid values: PENDING, IN_PROGRESS, POST_PROCESSING, DONE, FAILED, ABORT_IN_PROGRESS, ABORTED
PENDING - The task has been created and will start execution once it is successfully configured.void
setApproximateObjectCount(java.lang.Long approximateObjectCount)
void
setApproximateTotalSize(java.lang.Double approximateTotalSize)
void
setApproximateTotalSizeUnitString(java.lang.String approximateTotalSizeUnitString)
void
setCreated(java.util.Date created)
void
setEntriesDeleted(java.lang.Long entriesDeleted)
void
setFailedToDeleteDangling(java.lang.Long failedToDeleteDangling)
void
setFailedToDeleteOther(java.lang.Long failedToDeleteOther)
void
setFailedToDeletePermission(java.lang.Long failedToDeletePermission)
void
setFailedToDeleteRetention(java.lang.Long failedToDeleteRetention)
void
setLastUpdated(java.util.Date lastUpdated)
void
setMessage(java.lang.String message)
void
setStatus(java.lang.String status)
BucketDeletionStatus
withApproximateObjectCount(java.lang.Long approximateObjectCount)
BucketDeletionStatus
withApproximateTotalSize(java.lang.Double approximateTotalSize)
BucketDeletionStatus
withApproximateTotalSizeUnitString(java.lang.String approximateTotalSizeUnitString)
BucketDeletionStatus
withCreated(java.util.Date created)
BucketDeletionStatus
withEntriesDeleted(java.lang.Long entriesDeleted)
BucketDeletionStatus
withFailedToDeleteDangling(java.lang.Long failedToDeleteDangling)
BucketDeletionStatus
withFailedToDeleteOther(java.lang.Long failedToDeleteOther)
BucketDeletionStatus
withFailedToDeletePermission(java.lang.Long failedToDeletePermission)
BucketDeletionStatus
withFailedToDeleteRetention(java.lang.Long failedToDeleteRetention)
BucketDeletionStatus
withLastUpdated(java.util.Date lastUpdated)
BucketDeletionStatus
withMessage(java.lang.String message)
BucketDeletionStatus
withStatus(java.lang.String status)
-
-
-
Method Detail
-
getStatus
public java.lang.String getStatus()
Overall status of the bucket delete task Valid values: PENDING, IN_PROGRESS, POST_PROCESSING, DONE, FAILED, ABORT_IN_PROGRESS, ABORTED
PENDING - The task has been created and will start execution once it is successfully configured.
IN_PROGRESS - The task is executing normally.
POST_PROCESSING - The task is finsished processing and is finalizing before moving to the DONE or FAILED state.
DONE - The task successfully completed and the bucket was deleted.
ABORT_IN_PROGRESS - The tasks is aborting and is finalizing before moving to the ABORTED state.
ABORTED - The task was stopped before it could complete and should be retried.
FAILED - The task completed but not all items associated with the bucket could be removed.
When the status is FAILED the failed_to_delete_n counts give an indication of why certain items could not be removed by the task.
-
setStatus
public void setStatus(java.lang.String status)
-
getCreated
public java.util.Date getCreated()
Timestamp when the operation was created
-
setCreated
public void setCreated(java.util.Date created)
-
getLastUpdated
public java.util.Date getLastUpdated()
Timestamp of the last time the operation status was updated
-
setLastUpdated
public void setLastUpdated(java.util.Date lastUpdated)
-
getEntriesDeleted
public java.lang.Long getEntriesDeleted()
Number of entries deleted
-
setEntriesDeleted
public void setEntriesDeleted(java.lang.Long entriesDeleted)
-
getFailedToDeleteRetention
public java.lang.Long getFailedToDeleteRetention()
Number of entries unable to delete due to retention
-
setFailedToDeleteRetention
public void setFailedToDeleteRetention(java.lang.Long failedToDeleteRetention)
-
getFailedToDeletePermission
public java.lang.Long getFailedToDeletePermission()
Number of entries failed to delete due to permission
-
setFailedToDeletePermission
public void setFailedToDeletePermission(java.lang.Long failedToDeletePermission)
-
getFailedToDeleteDangling
public java.lang.Long getFailedToDeleteDangling()
Number of entries failed to delete due to failed dangling cleanup
-
setFailedToDeleteDangling
public void setFailedToDeleteDangling(java.lang.Long failedToDeleteDangling)
-
getFailedToDeleteOther
public java.lang.Long getFailedToDeleteOther()
Number of entries failed to delete due to other reasons
-
setFailedToDeleteOther
public void setFailedToDeleteOther(java.lang.Long failedToDeleteOther)
-
getApproximateObjectCount
public java.lang.Long getApproximateObjectCount()
Approximate count of objects in the bucket before deletion
-
setApproximateObjectCount
public void setApproximateObjectCount(java.lang.Long approximateObjectCount)
-
getApproximateTotalSize
public java.lang.Double getApproximateTotalSize()
Approximate total size of the bucket before deletion
-
setApproximateTotalSize
public void setApproximateTotalSize(java.lang.Double approximateTotalSize)
-
getApproximateTotalSizeUnitString
public java.lang.String getApproximateTotalSizeUnitString()
Unit of the approximate bucket total size
-
setApproximateTotalSizeUnitString
public void setApproximateTotalSizeUnitString(java.lang.String approximateTotalSizeUnitString)
-
getMessage
public java.lang.String getMessage()
Optional additional information about the status
-
setMessage
public void setMessage(java.lang.String message)
-
withStatus
public BucketDeletionStatus withStatus(java.lang.String status)
-
withCreated
public BucketDeletionStatus withCreated(java.util.Date created)
-
withLastUpdated
public BucketDeletionStatus withLastUpdated(java.util.Date lastUpdated)
-
withEntriesDeleted
public BucketDeletionStatus withEntriesDeleted(java.lang.Long entriesDeleted)
-
withFailedToDeleteRetention
public BucketDeletionStatus withFailedToDeleteRetention(java.lang.Long failedToDeleteRetention)
-
withFailedToDeletePermission
public BucketDeletionStatus withFailedToDeletePermission(java.lang.Long failedToDeletePermission)
-
withFailedToDeleteDangling
public BucketDeletionStatus withFailedToDeleteDangling(java.lang.Long failedToDeleteDangling)
-
withFailedToDeleteOther
public BucketDeletionStatus withFailedToDeleteOther(java.lang.Long failedToDeleteOther)
-
withApproximateObjectCount
public BucketDeletionStatus withApproximateObjectCount(java.lang.Long approximateObjectCount)
-
withApproximateTotalSize
public BucketDeletionStatus withApproximateTotalSize(java.lang.Double approximateTotalSize)
-
withApproximateTotalSizeUnitString
public BucketDeletionStatus withApproximateTotalSizeUnitString(java.lang.String approximateTotalSizeUnitString)
-
withMessage
public BucketDeletionStatus withMessage(java.lang.String message)
-
-