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

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

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

    参数类型为ListVersionsRequest的com.aliyun.oss中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `VersionListing` | OSSClient.`listVersions(ListVersionsRequest listVersionsRequest)`
    `VersionListing` | OSS.`listVersions(ListVersionsRequest listVersionsRequest)` Returns a list of summary information about the versions in the specified bucket.

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

    返回ListVersionsRequest的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ListVersionsRequest` | ListVersionsRequest.`withBucketName(String bucketName)` Sets the name of the OSS bucket whose versions are to be listed.
    `ListVersionsRequest` | ListVersionsRequest.`withDelimiter(String delimiter)` Sets the optional delimiter parameter that causes keys that contain the same string between the prefix and the first occurrence of the delimiter to be combined into a single result element in the `VersionListing.getCommonPrefixes()` list.
    `ListVersionsRequest` | ListVersionsRequest.`withEncodingType(String encodingType)` Sets the optional `encodingType` parameter indicating the encoding method to be applied on the response.
    `ListVersionsRequest` | ListVersionsRequest.`withKeyMarker(String keyMarker)` Sets the optional `keyMarker` parameter indicating where in the sorted list of all versions in the specified bucket to begin returning results.
    `ListVersionsRequest` | ListVersionsRequest.`withMaxResults(Integer maxResults)` Sets the optional `maxResults` parameter indicating the maximum number of results to include in the response.
    `ListVersionsRequest` | ListVersionsRequest.`withPrefix(String prefix)` Sets the optional prefix parameter restricting the response to keys that begin with the specified prefix.
    `ListVersionsRequest` | ListVersionsRequest.`withVersionIdMarker(String versionIdMarker)` Sets the optional `versionIdMarker` parameter indicating where in the sorted list of all versions in the specified bucket to begin returning results.

Copyright © 2020. All Rights Reserved.