public class ObjectListing extends HeaderResponse
| 构造器和说明 |
|---|
ObjectListing(List<ObsObject> objectSummaries,
List<String> commonPrefixes,
String bucketName,
boolean truncated,
String prefix,
String marker,
int maxKeys,
String delimiter,
String nextMarker,
String location) |
ObjectListing(List<ObsObject> objectSummaries,
List<String> commonPrefixes,
String bucketName,
boolean truncated,
String prefix,
String marker,
int maxKeys,
String delimiter,
String nextMarker,
String location,
List<ObsObject> extenedCommonPrefixes) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getBucketName()
Obtain the bucket name.
|
List<String> |
getCommonPrefixes()
Obtain the list of prefixes to the names of grouped objects.
|
String |
getDelimiter()
Obtain the character for grouping object names.
|
List<ObsObject> |
getExtenedCommonPrefixes()
Obtain the list of prefixes to the names of grouped objects.
|
String |
getLocation()
Obtain the bucket location.
|
String |
getMarker()
Obtain the start position for listing objects.
|
int |
getMaxKeys()
Obtain the maximum number of objects to be listed.
|
String |
getNextMarker()
Obtain the start position for next listing.
|
List<ObsObject> |
getObjects()
Obtain the list of objects in the bucket.
|
List<S3Object> |
getObjectSummaries()
已过时。
|
String |
getPrefix()
Obtain the object name prefix used for filtering objects to be listed.
|
boolean |
isTruncated()
Check whether the query result list is truncated.
|
String |
toString() |
getRequestId, getResponseHeaders, getStatusCodepublic ObjectListing(List<ObsObject> objectSummaries, List<String> commonPrefixes, String bucketName, boolean truncated, String prefix, String marker, int maxKeys, String delimiter, String nextMarker, String location)
public String getNextMarker()
public List<ObsObject> getObjects()
@Deprecated public List<S3Object> getObjectSummaries()
public List<String> getCommonPrefixes()
public List<ObsObject> getExtenedCommonPrefixes()
public String getBucketName()
public boolean isTruncated()
public String getPrefix()
public String getMarker()
public int getMaxKeys()
public String getDelimiter()
public String getLocation()
public String toString()
toString 在类中 HeaderResponseCopyright © 2021. All rights reserved.