## 类 com.aliyun.oss.model.InventoryEncryption
的使用

- 使用InventoryEncryption的程序包
  程序包 | 说明
  --- | ---
  com.aliyun.oss.model |

- - ### com.aliyun.oss.model中InventoryEncryption的使用

    返回InventoryEncryption的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `InventoryEncryption` | InventoryOSSBucketDestination.`getEncryption()` Gets the inventory contents encryption.
    `InventoryEncryption` | InventoryEncryption.`withServerSideKmsEncryption(InventoryServerSideEncryptionKMS serverSideKmsEncryption)` Sets the KMS encryption to encrypt the inventory contents.
    `InventoryEncryption` | InventoryEncryption.`withServerSideOssEncryption(InventoryServerSideEncryptionOSS serverSideOssEncryption)` Sets the OSS encryption to encrypt the inventory contents.

    参数类型为InventoryEncryption的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | InventoryOSSBucketDestination.`setEncryption(InventoryEncryption encryption)` Sets the inventory contents encryption.
    `InventoryOSSBucketDestination` | InventoryOSSBucketDestination.`withEncryption(InventoryEncryption encryption)` Sets the inventory contents encryption.

Copyright © 2020. All Rights Reserved.