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()
ServerSideEncryptionResult
getSSEAlgorithm
in interface ServerSideEncryptionResult
public final void setSSEAlgorithm(String algorithm)
ServerSideEncryptionResult
setSSEAlgorithm
in interface ServerSideEncryptionResult
algorithm
- The server-side encryption algorithm for the response.public final String getSSECustomerAlgorithm()
ServerSideEncryptionResult
getSSECustomerAlgorithm
in interface ServerSideEncryptionResult
public final void setSSECustomerAlgorithm(String algorithm)
ServerSideEncryptionResult
setSSECustomerAlgorithm
in interface ServerSideEncryptionResult
algorithm
- The server-side encryption algorithm used when encrypting the
object with customer-provided keys.public final String getSSECustomerKeyMd5()
ServerSideEncryptionResult
getSSECustomerKeyMd5
in interface ServerSideEncryptionResult
public final void setSSECustomerKeyMd5(String md5)
ServerSideEncryptionResult
setSSECustomerKeyMd5
in interface ServerSideEncryptionResult
md5
- 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.