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.
Method Summary |
java.util.Map<java.lang.String,java.lang.String> |
getMaterialsDescription()
Returns an unmodifiable view of the MaterialsDescription which the caller
can use to load EncryptionMaterials from any EncryptionMaterialsAccessor |
void |
setMaterialsDescription(java.util.Map<java.lang.String,java.lang.String> materialsDescription)
sets the materials description for the encryption materials to be used with the current Multi Part Upload Request. |
EncryptedInitiateMultipartUploadRequest |
withMaterialsDescription(java.util.Map<java.lang.String,java.lang.String> materialsDescription)
sets the materials description for the encryption materials to be used with the current Multi Part Upload Request. |
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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncryptedInitiateMultipartUploadRequest
public EncryptedInitiateMultipartUploadRequest(java.lang.String bucketName,
java.lang.String key)
EncryptedInitiateMultipartUploadRequest
public EncryptedInitiateMultipartUploadRequest(java.lang.String bucketName,
java.lang.String key,
ObjectMetadata objectMetadata)
getMaterialsDescription
public java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.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 © 2010 Amazon Web Services, Inc. All Rights Reserved.