类 SseKmsHeader
java.lang.Object
com.obs.services.model.SseKmsHeader
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明已过时。已过时。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()
-
构造器详细资料
-
SseKmsHeader
public SseKmsHeader()
-
-
方法详细资料
-
getProjectId
-
setProjectId
-
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
-