public class UpdateStrategyRequest extends BucketRequest
CosXmlRequest.OnRequestWeightListener
bucket, noSignHeaders, noSignParams, priority, qCloudTaskStateListener, queryParameters, region, requestHeaders, requestURL, signSourceProvider
构造器和说明 |
---|
UpdateStrategyRequest(java.lang.String bucket,
java.lang.String service,
java.lang.String bizType)
修改审核策略
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getMethod()
获取HTTP请求方法
RequestMethod |
java.lang.String |
getPath(CosXmlServiceConfig cosXmlServiceConfig)
获取HTTP URL Path
|
java.util.Map<java.lang.String,java.lang.String> |
getQueryString()
获取url query集合
|
RequestBodySerializer |
getRequestBody()
获取请求体
|
java.lang.String |
getRequestHost(CosXmlServiceConfig config)
获取请求host
|
void |
updateStrategy(UpdateStrategy updateStrategy)
修改 审核策略
|
checkParameters
addHeader, addNoSignHeader, addNoSignParams, addQuery, attachMetrics, getBucket, getHttpTask, getKeyTime, getMetrics, getNoSignHeaders, getNoSignParams, getPriority, getQueryEncodedString, getRegion, getRequestHeaders, 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 UpdateStrategyRequest(@NonNull java.lang.String bucket, @NonNull java.lang.String service, @NonNull java.lang.String bizType)
bucket
- 存储桶名public void updateStrategy(@NonNull UpdateStrategy updateStrategy)
updateStrategy
- 审核策略public java.util.Map<java.lang.String,java.lang.String> getQueryString()
CosXmlRequest
getQueryString
在类中 CosXmlRequest
public java.lang.String getPath(CosXmlServiceConfig cosXmlServiceConfig)
CosXmlRequest
getPath
在类中 BucketRequest
cosXmlServiceConfig
- SDK服务配置public RequestBodySerializer getRequestBody() throws CosXmlClientException
CosXmlRequest
getRequestBody
在类中 CosXmlRequest
CosXmlClientException
- 客户异常public java.lang.String getMethod()
CosXmlRequest
RequestMethod
getMethod
在类中 CosXmlRequest
public java.lang.String getRequestHost(CosXmlServiceConfig config)
CosXmlRequest
getRequestHost
在类中 CosXmlRequest
config
- SDK服务配置