priyeshkaratha commented on code in PR #12170:
URL: https://github.com/apache/ozone/pull/12170#discussion_r4779162801
##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/OzoneKey.java:
##########
@@ -226,6 +229,19 @@ public String getEncryptionKeyName() {
return encryptionKeyName;
}
+ /**
+ * Returns when the key expires under the bucket lifecycle configuration,
null if no enabled Expiration rule
+ * applies to the key or it is not known. Only set for keys read through the
S3 APIs.
+ */
+ @JsonIgnore
+ public LifecycleExpirationInfo getLifecycleExpiration() {
+ return lifecycleExpiration;
+ }
+
+ public void setLifecycleExpiration(LifecycleExpirationInfo
lifecycleExpiration) {
Review Comment:
Thanks, done. I added S3KeyReadResult<K extends OzoneKey> in ozone-client.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]