com.amazonaws.services.s3.model
Class EncryptedInitiateMultipartUploadRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.s3.model.InitiateMultipartUploadRequest
com.amazonaws.services.s3.model.EncryptedInitiateMultipartUploadRequest
- All Implemented Interfaces:
- MaterialsDescriptionProvider
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.
Methods inherited from class com.amazonaws.services.s3.model.InitiateMultipartUploadRequest |
getAccessControlList, getBucketName, getCannedACL, getKey, getObjectMetadata, getRedirectLocation, getSSECustomerKey, getStorageClass, setAccessControlList, setBucketName, setCannedACL, setKey, setObjectMetadata, setRedirectLocation, setSSECustomerKey, setStorageClass, withAccessControlList, withBucketName, withCannedACL, withKey, withObjectMetadata, withRedirectLocation, withSSECustomerKey, withStorageClass |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncryptedInitiateMultipartUploadRequest
public EncryptedInitiateMultipartUploadRequest(String bucketName,
String key)
EncryptedInitiateMultipartUploadRequest
public EncryptedInitiateMultipartUploadRequest(String bucketName,
String key,
ObjectMetadata objectMetadata)
getMaterialsDescription
public Map<String,String> getMaterialsDescription()
- Description copied from interface:
MaterialsDescriptionProvider
- Returns an unmodifiable view of the MaterialsDescription which the caller
can use to load EncryptionMaterials from any
EncryptionMaterialsAccessor
- Specified by:
getMaterialsDescription
in interface MaterialsDescriptionProvider
- Returns:
- materials description.
setMaterialsDescription
public void setMaterialsDescription(Map<String,String> materialsDescription)
- sets the materials description for the encryption materials to be used with the current Multi Part Upload Request.
- Parameters:
materialsDescription
- the materialsDescription to set
withMaterialsDescription
public EncryptedInitiateMultipartUploadRequest withMaterialsDescription(Map<String,String> materialsDescription)
- sets the materials description for the encryption materials to be used with the current Multi Part Upload Request.
- Parameters:
materialsDescription
- the materialsDescription to set
Copyright © 2016. All rights reserved.