类 BucketEncryption
java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
cn.warpin.thirdPart.huawei.obs.obs.services.model.HeaderResponse
cn.warpin.thirdPart.huawei.obs.obs.services.model.BucketEncryption
Bucket encryption information. Only the SSE-KMS encryption is supported.
-
字段概要
字段从类继承的字段 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
originalHeaders, responseHeaders, statusCode -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Obtain the master key used in the SSE-KMS encryption.Obtain the bucket encryption algorithm.voidsetKmsKeyId(String kmsKeyId) Set the master key used in the SSE-KMS encryption.voidsetSseAlgorithm(SSEAlgorithmEnum sseAlgorithm) Set the bucket encryption algorithm.toString()从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.model.HeaderResponse
getOriginalHeaders, getRequestId, getResponseHeaders, getStatusCode从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
setOriginalHeaders, setResponseHeaders, setStatusCode
-
字段详细资料
-
sseAlgorithm
-
kmsKeyId
-
-
构造器详细资料
-
BucketEncryption
public BucketEncryption() -
BucketEncryption
Constructor- 参数:
sseAlgorithm- Bucket encryption algorithm
-
-
方法详细资料
-
getSseAlgorithm
Obtain the bucket encryption algorithm.- 返回:
- Bucket encryption algorithm
-
setSseAlgorithm
Set the bucket encryption algorithm.- 参数:
sseAlgorithm- Bucket encryption algorithm
-
getKmsKeyId
Obtain the master key used in the SSE-KMS encryption. If the value is blank, the default master key is used.- 返回:
- Master key used in the SSE-KMS encryption
-
setKmsKeyId
Set the master key used in the SSE-KMS encryption. If the value is blank, the default master key will be used.- 参数:
kmsKeyId- Master key used in the SSE-KMS encryption
-
toString
- 覆盖:
toString在类中HeaderResponse
-