public class PutBucketReplicationRequest extends BucketRequest
限定符和类型 | 类和说明 |
---|---|
static class |
PutBucketReplicationRequest.RuleStruct
rule的结构体
|
CosXmlRequest.OnRequestWeightListener
bucket, noSignHeaders, noSignParams, priority, qCloudTaskStateListener, queryParameters, region, requestHeaders, requestURL, signSourceProvider
构造器和说明 |
---|
PutBucketReplicationRequest(java.lang.String bucket) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getMethod()
获取HTTP请求方法
RequestMethod |
java.util.Map<java.lang.String,java.lang.String> |
getQueryString()
获取url query集合
|
boolean |
isNeedMD5()
针对有请求体的 PUT 和 POST 请求,此头部是必选项。
|
void |
setReplicationConfigurationWithRole(java.lang.String ownerUin,
java.lang.String subUin)
设置 replication的发起者身份标示
|
void |
setReplicationConfigurationWithRule(PutBucketReplicationRequest.RuleStruct ruleStruct)
具体配置信息,最多支持 1000 个,所有策略只能指向一个目标存储桶
|
protected RequestBodySerializer |
xmlBuilder()
收拢xml解析
|
checkParameters, getPath
addHeader, addNoSignHeader, addNoSignParams, addQuery, attachMetrics, getBucket, getHttpTask, getKeyTime, getMetrics, getNoSignHeaders, getNoSignParams, getPriority, getQueryEncodedString, getRegion, getRequestBody, getRequestHeaders, getRequestHost, getRequestURL, getSignSourceProvider, getSTSCredentialScope, getWeight, headersHasUnsafeNonAscii, isSignInUrl, isSupportAccelerate, isSupportAccelerate, setNeedMD5, setOnRequestWeightListener, setQueryEncodedString, setQueryParameters, setRegion, setRequestHeaders, setRequestHeaders, setRequestHeaders, setRequestURL, setSign, setSign, setSign, setSign, setSign, setSignInUrl, setSignKeyTime, setSignParamsAndHeaders, setSignSourceProvider, setTask, setTaskStateListener
public void setReplicationConfigurationWithRole(java.lang.String ownerUin, java.lang.String subUin)
public void setReplicationConfigurationWithRule(PutBucketReplicationRequest.RuleStruct ruleStruct)
public java.lang.String getMethod()
CosXmlRequest
RequestMethod
getMethod
在类中 CosXmlRequest
public java.util.Map<java.lang.String,java.lang.String> getQueryString()
CosXmlRequest
getQueryString
在类中 CosXmlRequest
protected RequestBodySerializer xmlBuilder() throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
CosXmlRequest
xmlBuilder
在类中 CosXmlRequest
org.xmlpull.v1.XmlPullParserException
java.io.IOException
public boolean isNeedMD5()
CosXmlRequest
isNeedMD5
在类中 CosXmlRequest