com.aliyun.oss.model

## 类 InventoryOSSBucketDestination

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

- 所有已实现的接口:
    Serializable

      public class InventoryOSSBucketDestination
      extends Object
      implements Serializable

  Contains the bucket name, file format, bucket owner (optional), prefix (optional) and encryption (optional) where inventory results are published.
  另请参阅:
    序列化表格

- - ### 构造器概要

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

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getAccountId()` Returns the account ID that owns the destination bucket.
    `String` | `getBucket()` Gets the bucket where the inventory results will be published.
    `InventoryEncryption` | `getEncryption()` Gets the inventory contents encryption.
    `String` | `getFormat()` Returns the output format of the inventory results.
    `String` | `getPrefix()` Returns the prefix that is prepended to all inventory results.
    `String` | `getRoleArn()` Sets the name of the role arn.
    `void` | `setAccountId(String accountId)` Sets the account ID that owns the destination bucket.
    `void` | `setBucket(String bucket)` Sets the bucket where the inventory results will be published.
    `void` | `setEncryption(InventoryEncryption encryption)` Sets the inventory contents encryption.
    `void` | `setFormat(InventoryFormat format)` Sets the output format of the inventory results.
    `void` | `setFormat(String format)` Sets the output format of the inventory results.
    `void` | `setPrefix(String prefix)` Sets the prefix that is prepended to all inventory results.
    `void` | `setRoleArn(String roleArn)` Sets the name of the role arn.
    `InventoryOSSBucketDestination` | `withAccountId(String accountId)` Returns the account ID that owns the destination bucket.
    `InventoryOSSBucketDestination` | `withBucket(String bucket)` Sets the bucket where the inventory results will be published.
    `InventoryOSSBucketDestination` | `withEncryption(InventoryEncryption encryption)` Sets the inventory contents encryption.
    `InventoryOSSBucketDestination` | `withFormat(InventoryFormat format)` Sets the output format of the inventory results And returns the `InventoryOSSBucketDestination` object itself.
    `InventoryOSSBucketDestination` | `withFormat(String format)` Sets the output format of the inventory results.
    `InventoryOSSBucketDestination` | `withPrefix(String prefix)` Sets the prefix that is prepended to all inventory results And returns the `InventoryOSSBucketDestination` object itself.
    `InventoryOSSBucketDestination` | `withRoleArn(String roleArn)` Sets the name of the role arn.

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

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

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

    - #### InventoryOSSBucketDestination

          public InventoryOSSBucketDestination()

  - ### 方法详细资料

    - #### getAccountId

          public String getAccountId()

      Returns the account ID that owns the destination bucket.

    - #### setAccountId

          public void setAccountId(String accountId)

      Sets the account ID that owns the destination bucket.

    - #### withAccountId

          public InventoryOSSBucketDestination withAccountId(String accountId)

      Returns the account ID that owns the destination bucket. And returns the `InventoryOSSBucketDestination` object itself.

    - #### getRoleArn

          public String getRoleArn()

      Sets the name of the role arn.

    - #### setRoleArn

          public void setRoleArn(String roleArn)

      Sets the name of the role arn.

    - #### withRoleArn

          public InventoryOSSBucketDestination withRoleArn(String roleArn)

      Sets the name of the role arn. And returns the `InventoryOSSBucketDestination` object itself.

    - #### setBucket

          public void setBucket(String bucket)

      Sets the bucket where the inventory results will be published.

    - #### getBucket

          public String getBucket()

      Gets the bucket where the inventory results will be published.

    - #### withBucket

          public InventoryOSSBucketDestination withBucket(String bucket)

      Sets the bucket where the inventory results will be published. And returns the `InventoryOSSBucketDestination` object itself.

    - #### getFormat

          public String getFormat()

      Returns the output format of the inventory results.

    - #### setFormat

          public void setFormat(String format)

      Sets the output format of the inventory results.

    - #### setFormat

          public void setFormat(InventoryFormat format)

      Sets the output format of the inventory results.

    - #### withFormat

          public InventoryOSSBucketDestination withFormat(String format)

      Sets the output format of the inventory results. And returns the `InventoryOSSBucketDestination` object itself.

    - #### withFormat

          public InventoryOSSBucketDestination withFormat(InventoryFormat format)

      Sets the output format of the inventory results And returns the `InventoryOSSBucketDestination` object itself.

    - #### getPrefix

          public String getPrefix()

      Returns the prefix that is prepended to all inventory results.

    - #### setPrefix

          public void setPrefix(String prefix)

      Sets the prefix that is prepended to all inventory results.

    - #### withPrefix

          public InventoryOSSBucketDestination withPrefix(String prefix)

      Sets the prefix that is prepended to all inventory results And returns the `InventoryOSSBucketDestination` object itself.

    - #### getEncryption

          public InventoryEncryption getEncryption()

      Gets the inventory contents encryption.

    - #### setEncryption

          public void setEncryption(InventoryEncryption encryption)

      Sets the inventory contents encryption.

    - #### withEncryption

          public InventoryOSSBucketDestination withEncryption(InventoryEncryption encryption)

      Sets the inventory contents encryption. And returns the `InventoryOSSBucketDestination` object itself.

Copyright © 2020. All Rights Reserved.