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, withStorageClass
copyPutObjectBaseTo, 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, setTrafficLimit
copyBaseTo, getCiSpecialEndParameter, getCloneRoot, getCloneSource, getCosCredentials, getCustomQueryParameters, getCustomRequestHeaders, getFixedEndpointAddr, getGeneralProgressListener, getReadLimit, getRequestClientOptions, putCustomQueryParameter, putCustomRequestHeader, setCiSpecialEndParameter, setCosCredentials, setFixedEndpointAddr, setGeneralProgressListener, withGeneralProgressListener
public EncryptedPutObjectRequest(String bucketName, String key, File file)
public EncryptedPutObjectRequest(String bucketName, String key, InputStream input, ObjectMetadata metadata)
public Map<String,String> getMaterialsDescription()
MaterialsDescriptionProvider
EncryptionMaterialsAccessor
getMaterialsDescription
在接口中 MaterialsDescriptionProvider
public 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
在类中 PutObjectRequest
Object.clone()
Copyright © 2022. All rights reserved.