public class GetBucketObjectVersionsRequest extends BucketRequest
CosXmlRequest.OnRequestWeightListener
bucket, noSignHeaders, noSignParams, priority, qCloudTaskStateListener, queryParameters, region, requestHeaders, requestURL, signSourceProvider
构造器和说明 |
---|
GetBucketObjectVersionsRequest(java.lang.String bucket) |
GetBucketObjectVersionsRequest(java.lang.String bucket,
java.lang.String delimiter,
java.lang.String keyMarker,
java.lang.String versionIdMarker)
GetBucketObjectVersionsRequest构造函数
|
GetBucketObjectVersionsRequest(java.lang.String bucket,
java.lang.String prefix,
java.lang.String delimiter,
java.lang.String keyMarker,
java.lang.String versionIdMarker)
GetBucketObjectVersionsRequest构造函数
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getDelimiter() |
java.lang.String |
getKeyMarker() |
java.lang.String |
getMethod()
获取HTTP请求方法
RequestMethod |
java.util.Map<java.lang.String,java.lang.String> |
getQueryString()
获取url query集合
|
RequestBodySerializer |
getRequestBody()
获取请求体
|
java.lang.String |
getVersionIdMarker() |
void |
setDelimiter(java.lang.String delimiter)
设置字符的分隔符,用于对对象键进行分组
|
void |
setEncodingType(java.lang.String encodingType)
设置返回值的编码方式
|
void |
setKeyMarker(java.lang.String keyMarker)
设置起始对象键标记
|
void |
setMaxKeys(int maxKeys)
设置单次返回最大的条目数量,默认值为1000,最大为1000
|
void |
setPrefix(java.lang.String prefix)
设置对象键匹配前缀
|
void |
setVersionIdMarker(java.lang.String versionIdMarker)
设置起始版本 ID 标记
|
checkParameters, getPath
addHeader, addNoSignHeader, addNoSignParams, addQuery, attachMetrics, getBucket, getHttpTask, getKeyTime, getMetrics, getNoSignHeaders, getNoSignParams, getPriority, getQueryEncodedString, getRegion, getRequestHeaders, getRequestHost, getRequestURL, getSignSourceProvider, getSTSCredentialScope, getWeight, headersHasUnsafeNonAscii, isNeedMD5, isSignInUrl, isSupportAccelerate, isSupportAccelerate, setNeedMD5, setOnRequestWeightListener, setQueryEncodedString, setQueryParameters, setRegion, setRequestHeaders, setRequestHeaders, setRequestHeaders, setRequestURL, setSign, setSign, setSign, setSign, setSign, setSignInUrl, setSignKeyTime, setSignParamsAndHeaders, setSignSourceProvider, setTask, setTaskStateListener, xmlBuilder
public GetBucketObjectVersionsRequest(java.lang.String bucket)
public GetBucketObjectVersionsRequest(java.lang.String bucket, java.lang.String prefix, java.lang.String delimiter, java.lang.String keyMarker, java.lang.String versionIdMarker)
bucket
- 存储桶名prefix
- 对象键匹配前缀,限定响应中只包含指定前缀的对象键delimiter
- 一个字符的分隔符,用于对对象键进行分组keyMarker
- 起始对象键标记,从该标记之后(不含)按照 UTF-8 字典序返回对象版本条目versionIdMarker
- 起始版本 ID 标记,从该标记之后(不含)返回对象版本条目public GetBucketObjectVersionsRequest(java.lang.String bucket, java.lang.String delimiter, java.lang.String keyMarker, java.lang.String versionIdMarker)
bucket
- 存储桶名delimiter
- 一个字符的分隔符,用于对对象键进行分组keyMarker
- 起始对象键标记,从该标记之后(不含)按照 UTF-8 字典序返回对象版本条目versionIdMarker
- 起始版本 ID 标记,从该标记之后(不含)返回对象版本条目public java.lang.String getMethod()
CosXmlRequest
RequestMethod
getMethod
在类中 CosXmlRequest
public java.util.Map<java.lang.String,java.lang.String> getQueryString()
CosXmlRequest
getQueryString
在类中 CosXmlRequest
public RequestBodySerializer getRequestBody() throws CosXmlClientException
CosXmlRequest
getRequestBody
在类中 CosXmlRequest
CosXmlClientException
- 客户异常public void setPrefix(java.lang.String prefix)
prefix
- 对象键匹配前缀public void setDelimiter(java.lang.String delimiter)
delimiter
- 字符的分隔符,用于对对象键进行分组public void setEncodingType(java.lang.String encodingType)
encodingType
- 返回值的编码方式public void setKeyMarker(java.lang.String keyMarker)
keyMarker
- 起始对象键标记public void setVersionIdMarker(java.lang.String versionIdMarker)
versionIdMarker
- 起始版本 ID 标记public void setMaxKeys(int maxKeys)
maxKeys
- 单次返回最大的条目数量,默认值为1000,最大为1000public java.lang.String getDelimiter()
public java.lang.String getKeyMarker()
public java.lang.String getVersionIdMarker()