Example usage for com.amazonaws.services.s3.model GetObjectMetadataRequest withSSECustomerKey

List of usage examples for com.amazonaws.services.s3.model GetObjectMetadataRequest withSSECustomerKey

Introduction

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

Prototype

public GetObjectMetadataRequest withSSECustomerKey(SSECustomerKey sseKey) 

Source Link

Document

Sets the optional customer-provided server-side encryption key to use when retrieving the metadata of a server-side encrypted object, and retuns the updated request object so that additional method calls can be chained together.

Usage

From source file:io.druid.storage.s3.CustomServerSideEncryption.java

License:Apache License

@Override
public GetObjectMetadataRequest decorate(GetObjectMetadataRequest request) {
    return request.withSSECustomerKey(key);
}