Example usage for com.amazonaws.services.s3.model GetObjectTaggingResult GetObjectTaggingResult

List of usage examples for com.amazonaws.services.s3.model GetObjectTaggingResult GetObjectTaggingResult

Introduction

In this page you can find the example usage for com.amazonaws.services.s3.model GetObjectTaggingResult GetObjectTaggingResult.

Prototype

public GetObjectTaggingResult(List<Tag> tagSet) 

Source Link

Document

Constructs an instance of this object.

Usage

From source file:org.finra.herd.dao.impl.MockS3OperationsImpl.java

License:Apache License

@Override
public GetObjectTaggingResult getObjectTagging(GetObjectTaggingRequest getObjectTaggingRequest,
        AmazonS3 s3Client) {//ww  w. j a v  a 2 s .c  o m
    return new GetObjectTaggingResult(getMockS3Object(getObjectTaggingRequest.getBucketName(),
            getObjectTaggingRequest.getKey(), getObjectTaggingRequest.getVersionId()).getTags());
}