Package com.adaptris.aws.s3.meta
Class S3HttpExpiresDate
- java.lang.Object
-
- com.adaptris.aws.s3.meta.S3ObjectMetadata
-
- com.adaptris.aws.s3.meta.S3HttpExpiresDate
-
- All Implemented Interfaces:
java.lang.Comparable<S3ObjectMetadata>
public class S3HttpExpiresDate extends S3ObjectMetadata
-
-
Constructor Summary
Constructors Constructor Description S3HttpExpiresDate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(AdaptrisMessage msg, com.amazonaws.services.s3.model.ObjectMetadata meta)
@NonNull TimeInterval
getTimeToLive()
Set how long after upload the object should remain cachablevoid
setTimeToLive(@NonNull TimeInterval timeToLive)
Set how long after upload the object should remain cachable-
Methods inherited from class com.adaptris.aws.s3.meta.S3ObjectMetadata
compareTo
-
-
-
-
Method Detail
-
apply
public void apply(AdaptrisMessage msg, com.amazonaws.services.s3.model.ObjectMetadata meta) throws ServiceException
- Specified by:
apply
in classS3ObjectMetadata
- Throws:
ServiceException
-
getTimeToLive
@NonNull public @NonNull TimeInterval getTimeToLive()
Set how long after upload the object should remain cachable
-
setTimeToLive
public void setTimeToLive(@NonNull @NonNull TimeInterval timeToLive)
Set how long after upload the object should remain cachable
-
-