DefaultAWSCredentialsProviderChain credentialProviderChain = new DefaultAWSCredentialsProviderChain();
tx = new TransferManager(new AmazonS3Client(credentialProviderChain.getCredentials()), createDefaultExecutorService());
objectMetadataProvider = new ObjectMetadataProvider() {
@Override
public void provideObjectMetadata(File file, ObjectMetadata metadata) {
<BUG>metadata.setSSEAlgorithm("AES256");
}</BUG>
};
}
@Override

DefaultAWSCredentialsProviderChain credentialProviderChain = new DefaultAWSCredentialsProviderChain();
tx = new TransferManager(new AmazonS3Client(credentialProviderChain.getCredentials()), createDefaultExecutorService());
objectMetadataProvider = new ObjectMetadataProvider() {
@Override
public void provideObjectMetadata(File file, ObjectMetadata metadata) {
metadata.setSSEAlgorithm("AES256");
metadata.setContentLength(file.length());
}
};
}
@Override
