public class BucketEncryption extends HeaderResponse
| Constructor and Description |
|---|
BucketEncryption() |
BucketEncryption(SSEAlgorithmEnum sseAlgorithm)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKmsKeyId()
Obtain the master key used in the SSE-KMS encryption.
|
SSEAlgorithmEnum |
getSseAlgorithm()
Obtain the bucket encryption algorithm.
|
void |
setKmsKeyId(String kmsKeyId)
Set the master key used in the SSE-KMS encryption.
|
void |
setSseAlgorithm(SSEAlgorithmEnum sseAlgorithm)
Set the bucket encryption algorithm.
|
String |
toString() |
getRequestId, getResponseHeaders, getStatusCodepublic BucketEncryption()
public BucketEncryption(SSEAlgorithmEnum sseAlgorithm)
sseAlgorithm - Bucket encryption algorithmpublic SSEAlgorithmEnum getSseAlgorithm()
public void setSseAlgorithm(SSEAlgorithmEnum sseAlgorithm)
sseAlgorithm - Bucket encryption algorithmpublic String getKmsKeyId()
public void setKmsKeyId(String kmsKeyId)
kmsKeyId - Master key used in the SSE-KMS encryptionpublic String toString()
toString in class HeaderResponseCopyright © 2019. All rights reserved.