Package com.adaptris.aws2.s3.meta
Class S3HttpExpiresDate
java.lang.Object
com.adaptris.aws2.s3.meta.S3ObjectMetadata
com.adaptris.aws2.s3.meta.S3HttpExpiresDate
- All Implemented Interfaces:
Comparable<S3ObjectMetadata>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(AdaptrisMessage msg, Map<String, String> meta) @NonNull TimeIntervalSet how long after upload the object should remain cachablevoidsetTimeToLive(@NonNull TimeInterval timeToLive) Set how long after upload the object should remain cachableMethods inherited from class com.adaptris.aws2.s3.meta.S3ObjectMetadata
compareTo
-
Constructor Details
-
S3HttpExpiresDate
public S3HttpExpiresDate()
-
-
Method Details
-
apply
- Specified by:
applyin classS3ObjectMetadata- Throws:
ServiceException
-
getTimeToLive
Set how long after upload the object should remain cachable -
setTimeToLive
Set how long after upload the object should remain cachable
-