public class EncryptedPutObjectRequest extends PutObjectRequest implements MaterialsDescriptionProvider, Serializable
CosDataSource.Utils
Constructor and Description |
---|
EncryptedPutObjectRequest(String bucketName,
String key,
File file) |
EncryptedPutObjectRequest(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
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
in interface 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
in class PutObjectRequest
Object.clone()
Copyright © 2023. All rights reserved.