public class S3HttpExpiresDate extends S3ObjectMetadata
Constructor and Description |
---|
S3HttpExpiresDate() |
Modifier and Type | Method and Description |
---|---|
void |
apply(AdaptrisMessage msg,
com.amazonaws.services.s3.model.ObjectMetadata meta) |
@NonNull TimeInterval |
getTimeToLive()
Set how long after upload the object should remain cachable
|
void |
setTimeToLive(@NonNull TimeInterval timeToLive)
Set how long after upload the object should remain cachable
|
compareTo
public void apply(AdaptrisMessage msg, com.amazonaws.services.s3.model.ObjectMetadata meta) throws ServiceException
apply
in class S3ObjectMetadata
ServiceException
@NonNull public @NonNull TimeInterval getTimeToLive()
public void setTimeToLive(@NonNull @NonNull TimeInterval timeToLive)