public abstract class SSEResultBase extends Object implements ServerSideEncryptionResult
| Constructor and Description |
|---|
SSEResultBase() |
| Modifier and Type | Method and Description |
|---|---|
String |
getServerSideEncryption()
Deprecated.
Replaced by
getSSEAlgorithm() |
String |
getSSEAlgorithm()
Returns the server-side encryption algorithm if the object is encrypted
using AWS-managed keys.
|
String |
getSSECustomerAlgorithm()
Returns the server-side encryption algorithm if the object is encrypted
using customer-provided keys.
|
String |
getSSECustomerKeyMd5()
Returns the base64-encoded MD5 digest of the encryption key for
server-side encryption, if the object is encrypted using
customer-provided keys.
|
void |
setSSEAlgorithm(String algorithm)
Sets the server-side encryption algorithm for the response.
|
void |
setSSECustomerAlgorithm(String algorithm)
Sets the server-side encryption algorithm used when encrypting the object
with customer-provided keys.
|
void |
setSSECustomerKeyMd5(String md5)
Sets the base64-encoded MD5 digest of the encryption key for server-side
encryption.
|
public final String getSSEAlgorithm()
ServerSideEncryptionResultgetSSEAlgorithm in interface ServerSideEncryptionResultpublic final void setSSEAlgorithm(String algorithm)
ServerSideEncryptionResultsetSSEAlgorithm in interface ServerSideEncryptionResultalgorithm - The server-side encryption algorithm for the response.public final String getSSECustomerAlgorithm()
ServerSideEncryptionResultgetSSECustomerAlgorithm in interface ServerSideEncryptionResultpublic final void setSSECustomerAlgorithm(String algorithm)
ServerSideEncryptionResultsetSSECustomerAlgorithm in interface ServerSideEncryptionResultalgorithm - The server-side encryption algorithm used when encrypting the
object with customer-provided keys.public final String getSSECustomerKeyMd5()
ServerSideEncryptionResultgetSSECustomerKeyMd5 in interface ServerSideEncryptionResultpublic final void setSSECustomerKeyMd5(String md5)
ServerSideEncryptionResultsetSSECustomerKeyMd5 in interface ServerSideEncryptionResultmd5 - The base64-encoded MD5 digest of the encryption key for
server-side encryption.@Deprecated public final String getServerSideEncryption()
getSSEAlgorithm()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.