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

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

- - ### com.aliyun.oss中BucketVersioningConfiguration的使用

    返回BucketVersioningConfiguration的com.aliyun.oss中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `BucketVersioningConfiguration` | OSSClient.`getBucketVersioning(GenericRequest genericRequest)`
    `BucketVersioningConfiguration` | OSS.`getBucketVersioning(GenericRequest genericRequest)` Returns the versioning configuration for the specified bucket.
    `BucketVersioningConfiguration` | OSSClient.`getBucketVersioning(String bucketName)`
    `BucketVersioningConfiguration` | OSS.`getBucketVersioning(String bucketName)` Returns the versioning configuration for the specified bucket.

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

    返回BucketVersioningConfiguration的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `BucketVersioningConfiguration` | SetBucketVersioningRequest.`getVersioningConfiguration()` Gets the new versioning configuration for the specified bucket.
    `BucketVersioningConfiguration` | BucketVersioningConfiguration.`withStatus(String status)` Sets the desired status of versioning for this bucket versioning configuration object, and returns this object so that additional method calls may be chained together.

    参数类型为BucketVersioningConfiguration的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | SetBucketVersioningRequest.`setVersioningConfiguration(BucketVersioningConfiguration versioningConfiguration)` Sets the new versioning configuration for the specified bucket.
    `SetBucketVersioningRequest` | SetBucketVersioningRequest.`withVersioningConfiguration(BucketVersioningConfiguration versioningConfiguration)` Sets the new versioning configuration for the specified bucket and returns this object, enabling additional method calls to be chained together.

    参数类型为BucketVersioningConfiguration的com.aliyun.oss.model中的构造器
    构造器和说明
    `SetBucketVersioningRequest(String bucketName, BucketVersioningConfiguration configuration)` Constructs a new `SetBucketVersioningRequest` to set the bucket versioning configuration of the specified bucket.

Copyright © 2020. All Rights Reserved.