public class BucketEncryption extends HeaderResponse
Constructor and Description |
---|
BucketEncryption() |
BucketEncryption(SSEAlgorithmEnum sseAlgorithm)
构造方法
|
Modifier and Type | Method and Description |
---|---|
String |
getKmsKeyId()
获取SSE-KMS方式下使用的主密钥,可为空,如果为空,那么默认的主密钥将会被使用
|
SSEAlgorithmEnum |
getSseAlgorithm()
获取桶加密算法
|
void |
setKmsKeyId(String kmsKeyId)
设置SSE-KMS方式下使用的主密钥,可为空,如果为空,那么默认的主密钥将会被使用
|
void |
setSseAlgorithm(SSEAlgorithmEnum sseAlgorithm)
设置桶加密算法
|
String |
toString() |
getRequestId, getResponseHeaders, getStatusCode
public BucketEncryption()
public BucketEncryption(SSEAlgorithmEnum sseAlgorithm)
sseAlgorithm
- 桶加密算法public SSEAlgorithmEnum getSseAlgorithm()
public void setSseAlgorithm(SSEAlgorithmEnum sseAlgorithm)
sseAlgorithm
- 桶加密算法public String getKmsKeyId()
public void setKmsKeyId(String kmsKeyId)
kmsKeyId
- SSE-KMS方式下使用的主密钥public String toString()
toString
in class HeaderResponse
Copyright © 2021. All rights reserved.