| 程序包 | 说明 |
|---|---|
| com.qcloud.cos | |
| com.qcloud.cos.model |
| 限定符和类型 | 方法和说明 |
|---|---|
ObjectListing |
COS.listObjects(ListObjectsRequest listObjectsRequest)
Returns a list of summary information about the objects in the specified bucket.
|
ObjectListing |
COSClient.listObjects(ListObjectsRequest listObjectsRequest) |
| 限定符和类型 | 方法和说明 |
|---|---|
ListObjectsRequest |
ListNextBatchOfObjectsRequest.toListObjectsRequest()
Creates a new
ListObjectsRequest object using the previous object listing. |
ListObjectsRequest |
ListObjectsRequest.withBucketName(String bucketName)
Sets the name of the Qcloud COS bucket whose objects are to be listed.
|
ListObjectsRequest |
ListObjectsRequest.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 rolled up into a single result element in the
ObjectListing.getCommonPrefixes() list. |
ListObjectsRequest |
ListObjectsRequest.withEncodingType(String encodingType)
Sets the optional
encodingType parameter indicating the
encoding method to be applied on the response. |
ListObjectsRequest |
ListObjectsRequest.withMarker(String marker)
Sets the optional marker parameter indicating where in the bucket to begin
listing.
|
ListObjectsRequest |
ListObjectsRequest.withMaxKeys(Integer maxKeys)
Sets the optional
maxKeys parameter indicating the maximum number of keys to
include in the response. |
ListObjectsRequest |
ListObjectsRequest.withPrefix(String prefix)
Sets the optional prefix parameter restricting the response to keys that
begin with the specified prefix.
|
Copyright © 2021. All rights reserved.