类 SseKmsHeader
java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.model.SseKmsHeader
SSE-KMS encryption headers
-
字段概要
字段修饰符和类型字段说明private Stringprivate ServerEncryptionprivate Stringprivate Stringprivate SSEAlgorithmEnum -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明已过时。已过时。Obtain the master key used in the SSE-KMS mode.Obtain the project ID.Obtain the encryption algorithm type.voidsetContext(String context) 已过时。voidsetEncryption(ServerEncryption encryption) 已过时。voidsetKmsKeyId(String kmsKeyId) Set the master key used in the SSE-KMS mode.voidsetProjectId(String projectId) Set the project ID.toString()
-
字段详细资料
-
encryption
-
sseAlgorithm
-
kmsKeyId
-
context
-
projectId
-
-
构造器详细资料
-
SseKmsHeader
public SseKmsHeader()
-
-
方法详细资料
-
getProjectId
Obtain the project ID.- 返回:
- projectId Project ID
-
setProjectId
Set the project ID.- 参数:
projectId- Project ID
-
getEncryption
已过时。Obtain the encryption algorithm type. Only kms is supported.- 返回:
- Encryption algorithm type
-
setEncryption
已过时。Set the encryption algorithm type. Only kms is supported.- 参数:
encryption- Encryption algorithm type
-
getSSEAlgorithm
Obtain the encryption algorithm type. Only KMS is supported.- 返回:
- Encryption algorithm type
-
getKmsKeyId
Obtain the master key used in the SSE-KMS mode. If the value is blank, the default master key will be used.- 返回:
- Master key used in the SSE-KMS mode
-
setKmsKeyId
Set the master key used in the SSE-KMS mode. If the value is blank, the default master key will be used.- 参数:
kmsKeyId- Master key used in the SSE-KMS mode
-
getContext
已过时。 -
setContext
已过时。 -
toString
-