public class EncryptedPutObjectRequest extends PutObjectRequest implements MaterialsDescriptionProvider, Serializable
CosDataSource.Utils| 构造器和说明 |
|---|
EncryptedPutObjectRequest(String bucketName,
String key,
File file) |
EncryptedPutObjectRequest(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata) |
| 限定符和类型 | 方法和说明 |
|---|---|
EncryptedPutObjectRequest |
clone()
Returns a clone (as deep as possible) of this request object.
|
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
PutObjectRequest.
|
EncryptedPutObjectRequest |
withMaterialsDescription(Map<String,String> materialsDescription)
sets the materials description for the encryption materials to be used with the current
PutObjectRequest.
|
withAccessControlList, withBucketName, withCannedAcl, withFile, withInputStream, withKey, withMetadata, withRedirectLocation, withSSECOSKeyManagementParams, withSSECustomerKey, withStorageClass, withStorageClasscopyPutObjectBaseTo, getAccessControlList, getBucketName, getCannedAcl, getFile, getInputStream, getKey, getMetadata, getPicOperations, getRedirectLocation, getSSECOSKeyManagementParams, getSSECustomerKey, getStorageClass, getTrafficLimit, setAccessControlList, setBucketName, setCannedAcl, setFile, setInputStream, setKey, setMetadata, setPicOperations, setRedirectLocation, setSSECOSKeyManagementParams, setSSECustomerKey, setStorageClass, setStorageClass, setTrafficLimitcopyBaseTo, getCloneRoot, getCloneSource, getCosCredentials, getCustomQueryParameters, getCustomRequestHeaders, getFixedEndpointAddr, getGeneralProgressListener, getReadLimit, getRequestClientOptions, putCustomQueryParameter, putCustomRequestHeader, setCosCredentials, setFixedEndpointAddr, setGeneralProgressListener, withGeneralProgressListenerpublic EncryptedPutObjectRequest(String bucketName, String key, File file)
public EncryptedPutObjectRequest(String bucketName, String key, InputStream input, ObjectMetadata metadata)
public Map<String,String> getMaterialsDescription()
MaterialsDescriptionProviderEncryptionMaterialsAccessorgetMaterialsDescription 在接口中 MaterialsDescriptionProviderpublic void setMaterialsDescription(Map<String,String> materialsDescription)
materialsDescription - the materialsDescription to setpublic EncryptedPutObjectRequest withMaterialsDescription(Map<String,String> materialsDescription)
materialsDescription - the materialsDescription to setpublic EncryptedPutObjectRequest clone()
clone 在类中 PutObjectRequestObject.clone()Copyright © 2022. All rights reserved.