|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.s3.model.PutObjectRequest
com.amazonaws.services.s3.model.EncryptedPutObjectRequest
public class EncryptedPutObjectRequest
This class is an extension of PutObjectRequest
to allow additional encryption material description
to be specified on a per-request basis.In particular, EncryptedPutObjectRequest
is only recognized
by AmazonS3EncryptionJavaClient
.
If EncryptedPutObjectRequest
is used against the non-encrypting AmazonS3JavaClient
, the additional
attributes will be ignored.
Constructor Summary | |
---|---|
EncryptedPutObjectRequest(String bucketName,
String key,
File file)
|
|
EncryptedPutObjectRequest(String bucketName,
String key,
InputStream input,
ObjectMetadata metadata)
|
|
EncryptedPutObjectRequest(String bucketName,
String key,
String redirectLocation)
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncryptedPutObjectRequest(String bucketName, String key, File file)
public EncryptedPutObjectRequest(String bucketName, String key, String redirectLocation)
public EncryptedPutObjectRequest(String bucketName, String key, InputStream input, ObjectMetadata metadata)
Method Detail |
---|
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 set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |