public class PostAudioAuditRequest extends BasePostAuditRequest
CosXmlRequest.OnRequestWeightListener
bucket, noSignHeaders, noSignParams, priority, qCloudTaskStateListener, queryParameters, region, requestHeaders, requestURL, signSourceProvider
构造器和说明 |
---|
PostAudioAuditRequest(java.lang.String bucket)
提交音频审核任务请求
|
限定符和类型 | 方法和说明 |
---|---|
void |
checkParameters()
sdk 参数校验
|
java.lang.String |
getPath(CosXmlServiceConfig cosXmlServiceConfig)
获取HTTP URL Path
|
RequestBodySerializer |
getRequestBody()
获取请求体
|
void |
setBizType(java.lang.String bizType)
已过时。
|
void |
setCallback(java.lang.String callback)
已过时。
|
void |
setCallbackVersion(java.lang.String callbackVersion)
已过时。
|
void |
setConfig(PostAudioAudit.AudioAuditConf conf)
设置审核规则配置
|
void |
setDataId(java.lang.String dataId)
已过时。
|
void |
setDetectType(java.lang.String detectType)
已过时。
|
void |
setInput(AuditInput input)
设置需要审核的内容
|
void |
setObject(java.lang.String object)
已过时。
|
void |
setUrl(java.lang.String url)
已过时。
|
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 PostAudioAuditRequest(@NonNull java.lang.String bucket)
bucket
- 存储桶名public void setInput(@NonNull AuditInput input)
input
- 需要审核的内容public void setConfig(@NonNull PostAudioAudit.AudioAuditConf conf)
conf
- 审核规则配置@Deprecated public void setObject(@NonNull java.lang.String object)
@Deprecated public void setUrl(@NonNull java.lang.String url)
@Deprecated public void setDataId(@NonNull java.lang.String dataId)
@Deprecated public void setDetectType(@NonNull java.lang.String detectType)
@Deprecated public void setCallback(@NonNull java.lang.String callback)
@Deprecated public void setCallbackVersion(@NonNull java.lang.String callbackVersion)
@Deprecated public void setBizType(@NonNull java.lang.String bizType)
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