public abstract class SSEResultBase extends java.lang.Object implements ServerSideEncryptionResult
| Constructor and Description |
|---|
SSEResultBase() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getServerSideEncryption()
Deprecated.
Replaced by
getSSEAlgorithm() |
java.lang.String |
getSSEAlgorithm()
Returns the server-side encryption algorithm if the object is encrypted
using AWS-managed keys.
|
java.lang.String |
getSSECustomerAlgorithm()
Returns the server-side encryption algorithm if the object is encrypted
using customer-provided keys.
|
java.lang.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(java.lang.String algorithm)
Sets the server-side encryption algorithm for the response.
|
void |
setSSECustomerAlgorithm(java.lang.String algorithm)
Sets the server-side encryption algorithm used when encrypting the object
with customer-provided keys.
|
void |
setSSECustomerKeyMd5(java.lang.String md5)
Sets the base64-encoded MD5 digest of the encryption key for server-side
encryption.
|
public final java.lang.String getSSEAlgorithm()
ServerSideEncryptionResultgetSSEAlgorithm in interface ServerSideEncryptionResultpublic final void setSSEAlgorithm(java.lang.String algorithm)
ServerSideEncryptionResultsetSSEAlgorithm in interface ServerSideEncryptionResultalgorithm - The server-side encryption algorithm for the response.public final java.lang.String getSSECustomerAlgorithm()
ServerSideEncryptionResultgetSSECustomerAlgorithm in interface ServerSideEncryptionResultpublic final void setSSECustomerAlgorithm(java.lang.String algorithm)
ServerSideEncryptionResultsetSSECustomerAlgorithm in interface ServerSideEncryptionResultalgorithm - The server-side encryption algorithm used when encrypting the
object with customer-provided keys.public final java.lang.String getSSECustomerKeyMd5()
ServerSideEncryptionResultgetSSECustomerKeyMd5 in interface ServerSideEncryptionResultpublic final void setSSECustomerKeyMd5(java.lang.String md5)
ServerSideEncryptionResultsetSSECustomerKeyMd5 in interface ServerSideEncryptionResultmd5 - The base64-encoded MD5 digest of the encryption key for
server-side encryption.@Deprecated public final java.lang.String getServerSideEncryption()
getSSEAlgorithm()