类 SseKmsHeader

java.lang.Object
com.obs.services.model.SseKmsHeader

public class SseKmsHeader extends Object
SSE-KMS encryption headers
  • 构造器详细资料

    • SseKmsHeader

      public SseKmsHeader()
  • 方法详细资料

    • getProjectId

      public String getProjectId()
      Obtain the project ID.
      返回:
      projectId Project ID
    • setProjectId

      public void setProjectId(String projectId)
      Set the project ID.
      参数:
      projectId - Project ID
    • getEncryption

      @Deprecated public ServerEncryption getEncryption()
      已过时。
      Obtain the encryption algorithm type. Only kms is supported.
      返回:
      Encryption algorithm type
    • setEncryption

      @Deprecated public void setEncryption(ServerEncryption encryption)
      已过时。
      Set the encryption algorithm type. Only kms is supported.
      参数:
      encryption - Encryption algorithm type
    • getSSEAlgorithm

      public SSEAlgorithmEnum getSSEAlgorithm()
      Obtain the encryption algorithm type. Only KMS is supported.
      返回:
      Encryption algorithm type
    • getKmsKeyId

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

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

      @Deprecated public String getContext()
      已过时。
    • setContext

      @Deprecated public void setContext(String context)
      已过时。
    • toString

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