com.aliyun.oss.model

## 类 InventoryEncryption

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

- 所有已实现的接口:
    Serializable

      public class InventoryEncryption
      extends Object
      implements Serializable

  另请参阅:
    序列化表格

- - ### 构造器概要

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

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `InventoryServerSideEncryptionKMS` | `getServerSideKmsEncryption()` Returns the server-side kms encryption.
    `InventoryServerSideEncryptionOSS` | `getServerSideOssEncryption()` Returns the server-side oss encryption.
    `void` | `setServerSideKmsEncryption(InventoryServerSideEncryptionKMS kmsServerSideEncryption)` Sets the server side kms encryption.
    `void` | `setServerSideOssEncryption(InventoryServerSideEncryptionOSS ossServerSideEncryption)` Sets the server side oss encryption.
    `InventoryEncryption` | `withServerSideKmsEncryption(InventoryServerSideEncryptionKMS serverSideKmsEncryption)` Sets the KMS encryption to encrypt the inventory contents.
    `InventoryEncryption` | `withServerSideOssEncryption(InventoryServerSideEncryptionOSS serverSideOssEncryption)` Sets the OSS encryption to encrypt the inventory contents.

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

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

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

    - #### InventoryEncryption

          public InventoryEncryption()

  - ### 方法详细资料

    - #### setServerSideKmsEncryption

          public void setServerSideKmsEncryption(InventoryServerSideEncryptionKMS kmsServerSideEncryption)

      Sets the server side kms encryption. Note: Only one encryption method between KMS and OSS can be chosen.
      参数:
        `kmsServerSideEncryption` - The server-side kms encryption.

    - #### getServerSideKmsEncryption

          public InventoryServerSideEncryptionKMS getServerSideKmsEncryption()

      Returns the server-side kms encryption.

    - #### withServerSideKmsEncryption

          public InventoryEncryption withServerSideKmsEncryption(InventoryServerSideEncryptionKMS serverSideKmsEncryption)

      Sets the KMS encryption to encrypt the inventory contents. Note: Only one encryption method between KMS and OSS can be chosen.
      参数:
        `serverSideKmsEncryption` - A `InventoryServerSideEncryptionKMS` instance.
      返回:
        the `InventoryEncryption` object itself.

    - #### setServerSideOssEncryption

          public void setServerSideOssEncryption(InventoryServerSideEncryptionOSS ossServerSideEncryption)

      Sets the server side oss encryption. Note: Only one encryption method between KMS and OSS can be chosen.
      参数:
        `ossServerSideEncryption` - The server-side oss encryption.

    - #### getServerSideOssEncryption

          public InventoryServerSideEncryptionOSS getServerSideOssEncryption()

      Returns the server-side oss encryption.

    - #### withServerSideOssEncryption

          public InventoryEncryption withServerSideOssEncryption(InventoryServerSideEncryptionOSS serverSideOssEncryption)

      Sets the OSS encryption to encrypt the inventory contents. Note: Only one encryption method between KMS and OSS can be chosen.
      参数:
        `serverSideOssEncryption` - A `InventoryServerSideEncryptionOSS` instance.
      返回:
        the `InventoryEncryption` object itself.

Copyright © 2020. All Rights Reserved.