public interface ObjectRestoreResult
Headers.RESTORE
Modifier and Type | Method and Description |
---|---|
Boolean |
getOngoingRestore()
Returns then boolean value which indicates there is an ongoing restore request.
|
Date |
getRestoreExpirationTime()
Returns the expiration date when the Object is scheduled to move to Amazon Glacier, or null if the object is not
configured to expire.
|
void |
setOngoingRestore(boolean ongoingRestore)
Sets a boolean value which indicates there is an ongoing restore request.
|
void |
setRestoreExpirationTime(Date expiration)
Sets the expiration date when the Object is scheduled to move to Amazon Glacier.
|
Date getRestoreExpirationTime()
void setRestoreExpirationTime(Date expiration)
expiration
- The date the object will expire.void setOngoingRestore(boolean ongoingRestore)
ongoingRestore
- Boolean getOngoingRestore()
Copyright © 2023. All rights reserved.