Class TagOperation

  • All Implemented Interfaces:
    S3Operation, ComponentLifecycleExtension
    Direct Known Subclasses:
    GetTagOperation

    @ComponentProfile(summary="Tag an object in S3")
    public class TagOperation
    extends ObjectOperationImpl
    Add tags to an object from S3 to another object

    Uses AmazonS3Client.setObjectTagging(SetObjectTaggingRequest).

    In the adapter configuration file this class is aliased as amazon-s3-copy which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Detail

      • TagOperation

        public TagOperation()
    • Method Detail

      • setTagMetadataFilter

        public void setTagMetadataFilter​(MetadataFilter mf)
        Filter metadata and set them as tags for the s3 object.
        Parameters:
        mf - the metadata filter; if not specified defaults to RemoveAllMetadataFilter.
      • filterTagMetadata

        protected java.util.List<com.amazonaws.services.s3.model.Tag> filterTagMetadata​(AdaptrisMessage msg)