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 Ks3EncryptionClient.
If EncryptedInitiateMultipartUploadRequest is used against the non-encrypting Ks3Client,
these additional attributes will be ignored.
| 构造器和说明 |
|---|
EncryptedInitiateMultipartUploadRequest(String bucketName,
String key) |
EncryptedInitiateMultipartUploadRequest(String bucketName,
String key,
ObjectMetadata objectMetadata) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
addObjectTag, addObjectTag, buildRequest, getAcl, getBucket, getCannedAcl, getKey, getObjectMeta, getObjectTagging, getRedirectLocation, getSseCustomerKey, getStorageClass, getStorageClassName, setAcl, setBucket, setCannedAcl, setKey, setObjectMeta, setObjectTagging, setRedirectLocation, setSseCustomerKey, setStorageClass, setStorageClass, validateParamsgetRequestConfig, onFinally, setRequestConfigpublic EncryptedInitiateMultipartUploadRequest(String bucketName, String key)
public EncryptedInitiateMultipartUploadRequest(String bucketName, String key, ObjectMetadata objectMetadata)
public Map<String,String> getMaterialsDescription()
MaterialsDescriptionProviderEncryptionMaterialsAccessorgetMaterialsDescription 在接口中 MaterialsDescriptionProviderpublic void setMaterialsDescription(Map<String,String> materialsDescription)
materialsDescription - the materialsDescription to setpublic EncryptedInitiateMultipartUploadRequest withMaterialsDescription(Map<String,String> materialsDescription)
materialsDescription - the materialsDescription to setCopyright © 2024. All rights reserved.