Package com.adaptris.aws2.s3
Class GetTagOperation
java.lang.Object
com.adaptris.aws2.s3.S3OperationImpl
com.adaptris.aws2.s3.ObjectOperationImpl
com.adaptris.aws2.s3.TagOperation
com.adaptris.aws2.s3.GetTagOperation
- All Implemented Interfaces:
S3Operation,ComponentLifecycleExtension
@ComponentProfile(summary="Get tags associated with an object in S3",
since="4.3.0")
public class GetTagOperation
extends TagOperation
Get tags associated with a S3 Object
Uses AmazonS3Client#getObjectTagging(GetObjectTaggingRequest)
- Since:
- 4.3.0
In the adapter configuration file this class is aliased as amazon-s3-tag-get which is the preferred alternative to the fully qualified classname when building your configuration.
-
Field Summary
Fields inherited from class com.adaptris.aws2.s3.S3OperationImpl
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(ClientWrapper wrapper, AdaptrisMessage msg) protected Set<MetadataElement>filterTags(List<software.amazon.awssdk.services.s3.model.Tag> tags) Methods inherited from class com.adaptris.aws2.s3.TagOperation
filterTagMetadata, getTagMetadataFilter, setTagMetadataFilter, tagMetadataFilter, withTagMetadataFilterMethods inherited from class com.adaptris.aws2.s3.ObjectOperationImpl
getObjectName, prepare, s3ObjectKey, setObjectName, withObjectNameMethods inherited from class com.adaptris.aws2.s3.S3OperationImpl
getBucket, s3Bucket, setBucket, withBucket
-
Constructor Details
-
GetTagOperation
public GetTagOperation()
-
-
Method Details
-
execute
- Specified by:
executein interfaceS3Operation- Overrides:
executein classTagOperation- Throws:
Exception
-
filterTags
-