public class EncryptedPutObjectRequest extends PutObjectRequest implements MaterialsDescriptionProvider
 This class is an extension of PutObjectRequest to allow additional
 encryption material description to be specified on a per-request basis.In
 particular, EncryptedPutObjectRequest is only recognized by
 AmazonS3EncryptionClient.
 
 If EncryptedPutObjectRequest is used against the non-encrypting
 AmazonS3Client, the additional attributes will be ignored.
 
S3DataSource.UtilsNOOP| Constructor and Description | 
|---|
| EncryptedPutObjectRequest(String bucketName,
                         String key,
                         File file) | 
| EncryptedPutObjectRequest(String bucketName,
                         String key,
                         InputStream input,
                         ObjectMetadata metadata) | 
| EncryptedPutObjectRequest(String bucketName,
                         String key,
                         String redirectLocation) | 
| Modifier and Type | Method and Description | 
|---|---|
| EncryptedPutObjectRequest | clone()Returns a clone (as deep as possible) of this request object. | 
| Map<String,String> | getMaterialsDescription()Returns an unmodifiable view of the MaterialsDescription which the caller 
 can use to load EncryptionMaterials from any  EncryptionMaterialsAccessor | 
| void | setMaterialsDescription(Map<String,String> materialsDescription)sets the materials description for the encryption materials to be used with the current PutObjectRequest. | 
| EncryptedPutObjectRequest | withMaterialsDescription(Map<String,String> materialsDescription)sets the materials description for the encryption materials to be used with the current PutObjectRequest. | 
withAccessControlList, withBucketName, withCannedAcl, withFile, withInputStream, withKey, withMetadata, withProgressListener, withRedirectLocation, withSSEAwsKeyManagementParams, withSSECustomerKey, withStorageClass, withStorageClasscopyPutObjectBaseTo, getAccessControlList, getBucketName, getCannedAcl, getFile, getInputStream, getKey, getMetadata, getProgressListener, getRedirectLocation, getSSEAwsKeyManagementParams, getSSECustomerKey, getStorageClass, setAccessControlList, setBucketName, setCannedAcl, setFile, setInputStream, setKey, setMetadata, setProgressListener, setRedirectLocation, setSSEAwsKeyManagementParams, setSSECustomerKey, setStorageClass, setStorageClasscopyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic EncryptedPutObjectRequest(String bucketName, String key, File file)
public EncryptedPutObjectRequest(String bucketName, String key, String redirectLocation)
public EncryptedPutObjectRequest(String bucketName, String key, InputStream input, ObjectMetadata metadata)
public Map<String,String> getMaterialsDescription()
MaterialsDescriptionProviderEncryptionMaterialsAccessorgetMaterialsDescription in interface MaterialsDescriptionProviderpublic void setMaterialsDescription(Map<String,String> materialsDescription)
materialsDescription - the materialsDescription to setpublic EncryptedPutObjectRequest withMaterialsDescription(Map<String,String> materialsDescription)
materialsDescription - the materialsDescription to setpublic EncryptedPutObjectRequest clone()
clone in class PutObjectRequestObject.clone()Copyright © 2015. All rights reserved.