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

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

Introduction

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

Prototype

public GetObjectRequest withSSECustomerKey(SSECustomerKey sseKey) 

Source Link

Document

Sets the optional customer-provided server-side encryption key to use to decrypt this object, and returns the updated GetObjectRequest so that additional method calls may be chained together.

Usage

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

License:Apache License

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