public class ObjectListing extends HeaderResponse
Modifier and Type | Class and Description |
---|---|
static class |
ObjectListing.Builder |
Constructor and Description |
---|
ObjectListing(List<ObsObject> objectSummaries,
List<String> commonPrefixes,
String bucketName,
boolean truncated,
String prefix,
String marker,
int maxKeys,
String delimiter,
String nextMarker,
String location)
Deprecated.
|
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> extendCommonPrefixes)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
获取桶名
|
List<String> |
getCommonPrefixes()
获取分组后的对象名前缀列表
|
String |
getDelimiter()
获取列举对象时请求中的分组字符
|
List<ObsObject> |
getExtendCommonPrefixes()
获取分组后的对象名前缀列表
|
List<ObsObject> |
getExtenedCommonPrefixes()
Deprecated.
|
String |
getLocation()
获取桶的区域位置
|
String |
getMarker()
获取列举对象请求中的起始位置
|
int |
getMaxKeys()
获取列举对象的最大条目数
|
String |
getNextMarker()
获取下次请求的起始位置
|
List<ObsObject> |
getObjects()
获取桶内对象列表
|
List<S3Object> |
getObjectSummaries()
Deprecated.
|
String |
getPrefix()
获取列举对象请求中的对象名前缀
|
boolean |
isTruncated()
判断查询结果列表是否被截断。true表示截断,本次没有返回全部结果;false表示未截断,本次已经返回了全部结果。
|
String |
toString() |
getRequestId, getResponseHeaders, getStatusCode
@Deprecated public 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()
@Deprecated public List<S3Object> getObjectSummaries()
public List<ObsObject> getExtendCommonPrefixes()
@Deprecated 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
in class HeaderResponse
Copyright © 2021. All rights reserved.