com.aliyun.oss.model

## 类 InventoryServerSideEncryptionKMS

- java.lang.Object
- - com.aliyun.oss.model.InventoryServerSideEncryptionKMS

- 所有已实现的接口:
    Serializable

      public class InventoryServerSideEncryptionKMS
      extends Object
      implements Serializable

  Userd for server side encryption with KMS.
  另请参阅:
    序列化表格

- - ### 构造器概要

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

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getKeyId()`
    `void` | `setKeyId(String keyId)` Sets the KMS key id to use to encrypt the inventory contents.
    `InventoryServerSideEncryptionKMS` | `withKeyId(String keyId)` Sets the KMS key id to use to encrypt the inventory contents.

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

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

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

    - #### InventoryServerSideEncryptionKMS

          public InventoryServerSideEncryptionKMS()

  - ### 方法详细资料

    - #### getKeyId

          public String getKeyId()

      返回:
        KMS key id used to encrypt the inventory contents.

    - #### setKeyId

          public void setKeyId(String keyId)

      Sets the KMS key id to use to encrypt the inventory contents.
      参数:
        `keyId` - The KMS key id.

    - #### withKeyId

          public InventoryServerSideEncryptionKMS withKeyId(String keyId)

      Sets the KMS key id to use to encrypt the inventory contents.
      参数:
        `keyId` - The KMS key id.
      返回:
        the `InventoryServerSideEncryptionKMS` object itself.

Copyright © 2020. All Rights Reserved.