public interface ObjectExpirationResult
Headers.EXPIRATION
Modifier and Type | Method and Description |
---|---|
Date |
getExpirationTime()
Returns the expiration date of the object, or null if the object is not
configured to expire.
|
String |
getExpirationTimeRuleId()
Returns the bucket lifecycle configuration rule ID for the expiration of
this object.
|
void |
setExpirationTime(Date expiration)
Sets the expiration date of the object.
|
void |
setExpirationTimeRuleId(String ruleId)
Sets the bucket lifecycle configuration rule ID for the expiration of
this object.
|
Date getExpirationTime()
void setExpirationTime(Date expiration)
expiration
- The date the object will expire.String getExpirationTimeRuleId()
void setExpirationTimeRuleId(String ruleId)
ruleId
- The rule ID of this object's expiration configurationCopyright © 2024. All rights reserved.