public class EncryptedInitiateMultipartUploadRequest extends InitiateMultipartUploadRequest implements MaterialsDescriptionProvider
This class is an extension of InitiateMultipartUploadRequest
to allow additional
encryption material description to be specified on a per-request basis.
In particular, EncryptedInitiateMultipartUploadRequest
is only recognized by AmazonS3EncryptionJavaClient
.
If EncryptedInitiateMultipartUploadRequest
is used against the non-encrypting AmazonS3JavaClient
,
these additional attributes will be ignored.
objectMetadata
Constructor and Description |
---|
EncryptedInitiateMultipartUploadRequest(String bucketName,
String key) |
EncryptedInitiateMultipartUploadRequest(String bucketName,
String key,
ObjectMetadata objectMetadata) |
Modifier and Type | Method and Description |
---|---|
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 Multi Part Upload Request.
|
EncryptedInitiateMultipartUploadRequest |
withMaterialsDescription(Map<String,String> materialsDescription)
sets the materials description for the encryption materials to be used with the current Multi Part Upload Request.
|
getAccessControlList, getBucketName, getCannedACL, getKey, getObjectMetadata, getRedirectLocation, getSSECustomerKey, getStorageClass, setAccessControlList, setBucketName, setCannedACL, setKey, setObjectMetadata, setRedirectLocation, setSSECustomerKey, setStorageClass, withAccessControlList, withBucketName, withCannedACL, withKey, withObjectMetadata, withRedirectLocation, withSSECustomerKey, withStorageClass
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public EncryptedInitiateMultipartUploadRequest(String bucketName, String key)
public EncryptedInitiateMultipartUploadRequest(String bucketName, String key, ObjectMetadata objectMetadata)
public Map<String,String> getMaterialsDescription()
MaterialsDescriptionProvider
EncryptionMaterialsAccessor
getMaterialsDescription
in interface MaterialsDescriptionProvider
public void setMaterialsDescription(Map<String,String> materialsDescription)
materialsDescription
- the materialsDescription to setpublic EncryptedInitiateMultipartUploadRequest withMaterialsDescription(Map<String,String> materialsDescription)
materialsDescription
- the materialsDescription to setCopyright © 2014. All rights reserved.