public final class DescribeSpeechJobsRequest extends BucketRequest
CosXmlRequest.OnRequestWeightListener
bucket, noSignHeaders, noSignParams, priority, qCloudTaskStateListener, queryParameters, region, requestHeaders, requestURL, signSourceProvider
构造器和说明 |
---|
DescribeSpeechJobsRequest(java.lang.String bucket) |
DescribeSpeechJobsRequest(java.lang.String bucket,
java.lang.String region) |
限定符和类型 | 方法和说明 |
---|---|
void |
checkParameters()
sdk 参数校验
|
java.lang.String |
getMethod()
获取HTTP请求方法
RequestMethod |
java.lang.String |
getPath(CosXmlServiceConfig cosXmlServiceConfig)
获取HTTP URL Path
|
RequestBodySerializer |
getRequestBody()
获取请求体
|
java.lang.String |
getRequestHost(CosXmlServiceConfig config)
获取请求host
|
void |
setEndCreationTime(java.lang.String endCreationTime)
拉取创建时间小于该时间的任务。
|
void |
setNextToken(java.lang.String nextToken)
请求的上下文,用于翻页。
|
void |
setOrderByTime(java.lang.String orderByTime)
Desc 或者 Asc。
|
void |
setQueueId(java.lang.String queueId)
队列 ID
|
void |
setSize(int size)
拉取的最大任务数。
|
void |
setStartCreationTime(java.lang.String startCreationTime)
拉取创建时间大于该时间的任务。
|
void |
setStates(java.lang.String states)
拉取该状态的任务,以,分割,支持多状态:All、Submitted、Running、Success、Failed、Pause、Cancel。
|
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 DescribeSpeechJobsRequest(java.lang.String bucket)
public DescribeSpeechJobsRequest(java.lang.String bucket, java.lang.String region)
public void setQueueId(@NonNull java.lang.String queueId)
queueId
- 队列 IDpublic void setOrderByTime(java.lang.String orderByTime)
public void setNextToken(java.lang.String nextToken)
public void setSize(int size)
public void setStates(java.lang.String states)
public void setStartCreationTime(java.lang.String startCreationTime)
public void setEndCreationTime(java.lang.String endCreationTime)
public java.lang.String getMethod()
CosXmlRequest
RequestMethod
getMethod
在类中 CosXmlRequest
public java.lang.String getRequestHost(CosXmlServiceConfig config)
CosXmlRequest
getRequestHost
在类中 CosXmlRequest
config
- SDK服务配置public RequestBodySerializer getRequestBody() throws CosXmlClientException
CosXmlRequest
getRequestBody
在类中 CosXmlRequest
CosXmlClientException
- 客户异常public java.lang.String getPath(CosXmlServiceConfig cosXmlServiceConfig)
CosXmlRequest
getPath
在类中 BucketRequest
cosXmlServiceConfig
- SDK服务配置public void checkParameters() throws CosXmlClientException
CosXmlRequest
checkParameters
在类中 BucketRequest
CosXmlClientException
- cosXmlClientException