类 BucketEncryption

java.lang.Object
com.obs.services.internal.service.InternalHeaderResponse
com.obs.services.model.HeaderResponse
com.obs.services.model.BucketEncryption

public class BucketEncryption extends HeaderResponse
Bucket encryption information. Only the SSE-KMS encryption is supported.
  • 构造器详细资料

    • BucketEncryption

      public BucketEncryption()
    • BucketEncryption

      public BucketEncryption(SSEAlgorithmEnum sseAlgorithm)
      Constructor
      参数:
      sseAlgorithm - Bucket encryption algorithm
  • 方法详细资料

    • getSseAlgorithm

      public SSEAlgorithmEnum getSseAlgorithm()
      Obtain the bucket encryption algorithm.
      返回:
      Bucket encryption algorithm
    • setSseAlgorithm

      public void setSseAlgorithm(SSEAlgorithmEnum sseAlgorithm)
      Set the bucket encryption algorithm.
      参数:
      sseAlgorithm - Bucket encryption algorithm
    • getKmsKeyId

      public String 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

      public void setKmsKeyId(String kmsKeyId)
      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

      public String toString()
      覆盖:
      toString 在类中 HeaderResponse