Package com.adaptris.aws.s3.meta
Class S3ContentLanguage
java.lang.Object
com.adaptris.aws.s3.meta.S3ObjectMetadata
com.adaptris.aws.s3.meta.S3ContentLanguage
- All Implemented Interfaces:
Comparable<S3ObjectMetadata>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(AdaptrisMessage msg, com.amazonaws.services.s3.model.ObjectMetadata meta) @NonNull String
Sets the Content-Language HTTP header which describes the natural language(s) of the intended audience for the enclosed entity.void
setContentLanguage
(@NonNull String contentLanguage) Sets the Content-Language HTTP header which describes the natural language(s) of the intended audience for the enclosed entity.Methods inherited from class com.adaptris.aws.s3.meta.S3ObjectMetadata
compareTo
-
Constructor Details
-
S3ContentLanguage
public S3ContentLanguage()
-
-
Method Details
-
apply
public void apply(AdaptrisMessage msg, com.amazonaws.services.s3.model.ObjectMetadata meta) throws ServiceException - Specified by:
apply
in classS3ObjectMetadata
- Throws:
ServiceException
-
getContentLanguage
Sets the Content-Language HTTP header which describes the natural language(s) of the intended audience for the enclosed entity. -
setContentLanguage
Sets the Content-Language HTTP header which describes the natural language(s) of the intended audience for the enclosed entity.- Parameters:
contentLanguage
-
-