public class EncryptedInitiateMultipartUploadRequest extends InitiateMultipartUploadRequest implements MaterialsDescriptionProvider, Serializable
InitiateMultipartUploadRequest to allow
additional crypto related attributes to be specified.
In particular, this includes the options to
EncryptedInitiateMultipartUploadRequest is only
recognized by COSEncryptionClient.
If EncryptedInitiateMultipartUploadRequest is used against the
non-encrypting COSClient, these additional attributes will be
ignored.
objectMetadata| 构造器和说明 |
|---|
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 |
boolean |
isCreateEncryptionMaterial()
Returns true if a new set of encryption material is to be created; false
otherwise.
|
void |
setCreateEncryptionMaterial(boolean createEncryptionMaterial) |
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 |
withCreateEncryptionMaterial(boolean createEncryptionMaterial) |
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, getDataSize, getKey, getObjectMetadata, getPartSize, getRedirectLocation, getSSECOSKeyManagementParams, getSSECustomerKey, getStorageClass, setAccessControlList, setBucketName, setCannedACL, setDataSizePartSize, setKey, setObjectMetadata, setRedirectLocation, setSSECOSKeyManagementParams, setSSECustomerKey, setStorageClass, withAccessControlList, withBucketName, withCannedACL, withDataSizePartSize, withKey, withObjectMetadata, withRedirectLocation, withSSECOSKeyManagementParams, withSSECustomerKey, withStorageClass, withStorageClassclone, copyBaseTo, getCloneRoot, getCloneSource, getCosCredentials, getCustomQueryParameters, getCustomRequestHeaders, getFixedEndpointAddr, getGeneralProgressListener, getReadLimit, getRequestClientOptions, putCustomQueryParameter, putCustomRequestHeader, setCosCredentials, setFixedEndpointAddr, setGeneralProgressListener, withGeneralProgressListenerpublic 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 setpublic boolean isCreateEncryptionMaterial()
public void setCreateEncryptionMaterial(boolean createEncryptionMaterial)
createEncryptionMaterial - true if a new set of encryption material is to be created;
false otherwise.public EncryptedInitiateMultipartUploadRequest withCreateEncryptionMaterial(boolean createEncryptionMaterial)
createEncryptionMaterial - true if a new set of encryption material is to be created;
false otherwise.Copyright © 2022. All rights reserved.