public interface ServerSideEncryptionResult
Modifier and Type | Method and Description |
---|---|
Boolean |
getBucketKeyEnabled()
Indicates whether the object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
|
String |
getSSEAlgorithm()
Returns the server-side encryption algorithm if the object is encrypted
using Amazon Web Services-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 |
setBucketKeyEnabled(Boolean bucketKeyEnabled)
Sets whether or not the object is encrypted with Bucket Key.
|
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 md5Digest)
Sets the base64-encoded MD5 digest of the encryption key for server-side
encryption.
|
String getSSEAlgorithm()
void setSSEAlgorithm(String algorithm)
algorithm
- The server-side encryption algorithm for the response.String getSSECustomerAlgorithm()
void setSSECustomerAlgorithm(String algorithm)
algorithm
- The server-side encryption algorithm used when encrypting the
object with customer-provided keys.String getSSECustomerKeyMd5()
void setSSECustomerKeyMd5(String md5Digest)
md5Digest
- The base64-encoded MD5 digest of the encryption key for
server-side encryption.Boolean getBucketKeyEnabled()
void setBucketKeyEnabled(Boolean bucketKeyEnabled)
bucketKeyEnabled
- Whether or not bucket key is enabled