com.aliyun.oss.model

## 类 InventoryConfiguration

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

- 所有已实现的接口:
    Serializable

      public class InventoryConfiguration
      extends Object
      implements Serializable

  另请参阅:
    序列化表格

- - ### 构造器概要

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

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `addOptionalField(String optionalField)` Add a field to the list of optional fields that are included in the inventory results.
    `InventoryDestination` | `getDestination()` Returns the `InventoryDestination` that contains information about where to publish the inventory results.
    `String` | `getIncludedObjectVersions()` Returns which object version(s) to included in the inventory results.
    `InventoryFilter` | `getInventoryFilter()` Returns the inventoryFilter used to describe a set of objects to include in inventory results.
    `String` | `getInventoryId()` Returns the ID used to identify the inventory configuration.
    `List<String>` | `getOptionalFields()` Returns the optional fields that are included in the inventory results.
    `InventorySchedule` | `getSchedule()` Returns the schedule for generating inventory results.
    `Boolean` | `isEnabled()` Returns true if the inventory configuration is enabled or false if it is disabled.
    `void` | `setDestination(InventoryDestination destination)` Sets the `InventoryDestination` that contains information about where to publish the inventory results.
    `void` | `setEnabled(Boolean enabled)` Sets the value whether the inventory configuration is enabled or disabled.
    `void` | `setIncludedObjectVersions(InventoryIncludedObjectVersions includedObjectVersions)` Sets which object version(s) to included in the inventory results.
    `void` | `setIncludedObjectVersions(String includedObjectVersions)` Sets which object version(s) to included in the inventory results.
    `void` | `setInventoryFilter(InventoryFilter inventoryFilter)` Sets the inventoryFilter used to describe a set of objects to include in inventory results.
    `void` | `setInventoryId(String inventoryId)` Sets the ID used to identify the inventory configuration.
    `void` | `setOptionalFields(List<String> optionalFields)` Sets the optional fields that are included in the inventory results.
    `void` | `setSchedule(InventorySchedule schedule)` Sets the schedule for generating inventory results.
    `InventoryConfiguration` | `withDestination(InventoryDestination destination)` Sets the `InventoryDestination` that contains information about where to publish the inventory results.
    `InventoryConfiguration` | `withEnabled(Boolean enabled)` Sets the value whether the inventory configuration is enabled or disabled.
    `InventoryConfiguration` | `withFilter(InventoryFilter inventoryFilter)` Sets the inventoryFilter used to describe a set of objects to include in inventory results.
    `InventoryConfiguration` | `withIncludedObjectVersions(InventoryIncludedObjectVersions includedObjectVersions)` Sets which object version(s) to included in the inventory results And returns the `InventoryConfiguration` object itself.
    `InventoryConfiguration` | `withIncludedObjectVersions(String includedObjectVersions)` Sets which object version(s) to included in the inventory results And returns the `InventoryConfiguration` object itself.
    `InventoryConfiguration` | `withInventoryId(String inventoryId)` Sets the ID used to identify the inventory configuration.
    `InventoryConfiguration` | `withOptionalFields(List<String> optionalFields)` Sets the optional fields that are included in the inventory results.
    `InventoryConfiguration` | `withSchedule(InventorySchedule schedule)` Returns the schedule for generating inventory results.

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

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

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

    - #### InventoryConfiguration

          public InventoryConfiguration()

  - ### 方法详细资料

    - #### getInventoryId

          public String getInventoryId()

      Returns the ID used to identify the inventory configuration.

    - #### setInventoryId

          public void setInventoryId(String inventoryId)

      Sets the ID used to identify the inventory configuration.

    - #### withInventoryId

          public InventoryConfiguration withInventoryId(String inventoryId)

      Sets the ID used to identify the inventory configuration. And returns the `InventoryConfiguration` object itself.

    - #### getDestination

          public InventoryDestination getDestination()

      Returns the `InventoryDestination` that contains information about where to publish the inventory results.

    - #### setDestination

          public void setDestination(InventoryDestination destination)

      Sets the `InventoryDestination` that contains information about where to publish the inventory results.

    - #### withDestination

          public InventoryConfiguration withDestination(InventoryDestination destination)

      Sets the `InventoryDestination` that contains information about where to publish the inventory results. And returns the `InventoryConfiguration` object itself.

    - #### isEnabled

          public Boolean isEnabled()

      Returns true if the inventory configuration is enabled or false if it is disabled.

    - #### setEnabled

          public void setEnabled(Boolean enabled)

      Sets the value whether the inventory configuration is enabled or disabled.

    - #### withEnabled

          public InventoryConfiguration withEnabled(Boolean enabled)

      Sets the value whether the inventory configuration is enabled or disabled. And returns the `InventoryConfiguration` object itself.

    - #### getInventoryFilter

          public InventoryFilter getInventoryFilter()

      Returns the inventoryFilter used to describe a set of objects to include in inventory results.

    - #### setInventoryFilter

          public void setInventoryFilter(InventoryFilter inventoryFilter)

      Sets the inventoryFilter used to describe a set of objects to include in inventory results.

    - #### withFilter

          public InventoryConfiguration withFilter(InventoryFilter inventoryFilter)

      Sets the inventoryFilter used to describe a set of objects to include in inventory results. And returns the `InventoryConfiguration` object itself.

    - #### getIncludedObjectVersions

          public String getIncludedObjectVersions()

      Returns which object version(s) to included in the inventory results.

    - #### setIncludedObjectVersions

          public void setIncludedObjectVersions(String includedObjectVersions)

      Sets which object version(s) to included in the inventory results.

    - #### withIncludedObjectVersions

          public InventoryConfiguration withIncludedObjectVersions(String includedObjectVersions)

      Sets which object version(s) to included in the inventory results And returns the `InventoryConfiguration` object itself.

    - #### setIncludedObjectVersions

          public void setIncludedObjectVersions(InventoryIncludedObjectVersions includedObjectVersions)

      Sets which object version(s) to included in the inventory results.

    - #### withIncludedObjectVersions

          public InventoryConfiguration withIncludedObjectVersions(InventoryIncludedObjectVersions includedObjectVersions)

      Sets which object version(s) to included in the inventory results And returns the `InventoryConfiguration` object itself.

    - #### getOptionalFields

          public List<String> getOptionalFields()

      Returns the optional fields that are included in the inventory results.

    - #### setOptionalFields

          public void setOptionalFields(List<String> optionalFields)

      Sets the optional fields that are included in the inventory results.

    - #### withOptionalFields

          public InventoryConfiguration withOptionalFields(List<String> optionalFields)

      Sets the optional fields that are included in the inventory results. And returns the `InventoryConfiguration` object itself.

    - #### addOptionalField

          public void addOptionalField(String optionalField)

      Add a field to the list of optional fields that are included in the inventory results.

    - #### getSchedule

          public InventorySchedule getSchedule()

      Returns the schedule for generating inventory results.

    - #### setSchedule

          public void setSchedule(InventorySchedule schedule)

      Sets the schedule for generating inventory results.

    - #### withSchedule

          public InventoryConfiguration withSchedule(InventorySchedule schedule)

      Returns the schedule for generating inventory results. And returns the `InventoryConfiguration` object itself.

Copyright © 2020. All Rights Reserved.