public class SseKmsHeader extends Object
Constructor and Description |
---|
SseKmsHeader() |
Modifier and Type | Method and Description |
---|---|
String |
getContext()
Deprecated.
|
ServerEncryption |
getEncryption()
Deprecated.
|
String |
getKmsKeyId()
获取SSE-KMS方式下使用的主密钥,可为空,如果为空,那么默认的主密钥将会被使用
|
String |
getProjectId()
获取项目ID
|
SSEAlgorithmEnum |
getSSEAlgorithm()
获取加密算法类型,目前仅支持kms
|
void |
setContext(String context)
Deprecated.
|
void |
setEncryption(ServerEncryption encryption)
Deprecated.
|
void |
setKmsKeyId(String kmsKeyId)
设置SSE-KMS方式下使用的主密钥,可为空,如果为空,那么默认的主密钥将会被使用
|
void |
setProjectId(String projectId)
设置项目ID
|
String |
toString() |
public String getProjectId()
public void setProjectId(String projectId)
projectId
- 项目ID@Deprecated public ServerEncryption getEncryption()
@Deprecated public void setEncryption(ServerEncryption encryption)
encryption
- 加密算法类型public SSEAlgorithmEnum getSSEAlgorithm()
public String getKmsKeyId()
public void setKmsKeyId(String kmsKeyId)
kmsKeyId
- SSE-KMS方式下使用的主密钥@Deprecated public String getContext()
@Deprecated public void setContext(String context)
Copyright © 2021. All rights reserved.