public class PostImagesAuditRequest extends BasePostAuditRequest
CosXmlRequest.OnRequestWeightListener
bucket, noSignHeaders, noSignParams, priority, qCloudTaskStateListener, queryParameters, region, requestHeaders, requestURL, signSourceProvider
构造器和说明 |
---|
PostImagesAuditRequest(java.lang.String bucket)
提交图片审核任务请求
|
限定符和类型 | 方法和说明 |
---|---|
void |
addImage(PostImagesAudit.ImagesAuditInput image)
添加需要审核的内容
|
void |
checkParameters()
sdk 参数校验
|
java.lang.String |
getPath(CosXmlServiceConfig cosXmlServiceConfig)
获取HTTP URL Path
|
RequestBodySerializer |
getRequestBody()
获取请求体
|
void |
setAsync(int async)
已过时。
|
void |
setBizType(java.lang.String bizType)
已过时。
|
void |
setCallback(java.lang.String callback)
已过时。
|
void |
setConfig(AuditConf conf)
设置审核规则配置
|
void |
setDetectType(java.lang.String detectType)
已过时。
|
void |
setFreeze(AuditConf.Freeze freeze)
已过时。
|
getMethod, getRequestHost
addHeader, addNoSignHeader, addNoSignParams, addQuery, attachMetrics, getBucket, getHttpTask, getKeyTime, getMetrics, getNoSignHeaders, getNoSignParams, getPriority, getQueryEncodedString, getQueryString, 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 PostImagesAuditRequest(@NonNull java.lang.String bucket)
bucket
- 存储桶名public void addImage(@NonNull PostImagesAudit.ImagesAuditInput image)
image
- 需要审核的内容public void setConfig(@NonNull AuditConf conf)
conf
- 审核规则配置@Deprecated public void setDetectType(@NonNull java.lang.String detectType)
@Deprecated public void setBizType(@NonNull java.lang.String bizType)
@Deprecated public void setAsync(int async)
@Deprecated public void setCallback(@NonNull java.lang.String callback)
@Deprecated public void setFreeze(@NonNull AuditConf.Freeze freeze)
public java.lang.String getPath(CosXmlServiceConfig cosXmlServiceConfig)
CosXmlRequest
getPath
在类中 BucketRequest
cosXmlServiceConfig
- SDK服务配置public RequestBodySerializer getRequestBody() throws CosXmlClientException
CosXmlRequest
getRequestBody
在类中 CosXmlRequest
CosXmlClientException
- 客户异常public void checkParameters() throws CosXmlClientException
CosXmlRequest
checkParameters
在类中 BucketRequest
CosXmlClientException
- cosXmlClientException