com.obs.services.model

## 类 SseKmsHeader

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

-     public class SseKmsHeader
      extends Object

  SSE-KMS encryption headers

- - ### 构造器概要

    构造器
    构造器和说明
    `SseKmsHeader()`

  - ### 方法概要

    所有方法 实例方法 具体方法 已过时的方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getContext()` 已过时。
    `ServerEncryption` | `getEncryption()` 已过时。
    `String` | `getKmsKeyId()` Obtain the master key used in the SSE-KMS mode.
    `String` | `getProjectId()` Obtain the project ID.
    `SSEAlgorithmEnum` | `getSSEAlgorithm()` Obtain the encryption algorithm type.
    `void` | `setContext(String context)` 已过时。
    `void` | `setEncryption(ServerEncryption encryption)` 已过时。
    `void` | `setKmsKeyId(String kmsKeyId)` Set the master key used in the SSE-KMS mode.
    `void` | `setProjectId(String projectId)` Set the project ID.
    `String` | `toString()`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 构造器详细资料

    - #### 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`

Copyright © 2021. All rights reserved.