public abstract class BaseDescribeQueuesRequest extends BucketRequest
CosXmlRequest.OnRequestWeightListener
bucket, noSignHeaders, noSignParams, priority, qCloudTaskStateListener, queryParameters, region, requestHeaders, requestURL, signSourceProvider
构造器和说明 |
---|
BaseDescribeQueuesRequest(java.lang.String bucket) |
BaseDescribeQueuesRequest(java.lang.String bucket,
java.lang.String region) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getMethod()
获取HTTP请求方法
RequestMethod |
RequestBodySerializer |
getRequestBody()
获取请求体
|
java.lang.String |
getRequestHost(CosXmlServiceConfig config)
获取请求host
|
void |
setPageNumber(int pageNumber)
第几页
|
void |
setPageSize(int pageSize)
每页个数
|
void |
setQueueIds(java.lang.String queueIds)
队列 ID,以“,”符号分割字符串
|
void |
setState(java.lang.String state)
设置状态
Active 表示队列内的作业会被识别服务调度执行
Paused 表示队列暂停,作业不再会被识别服务调度执行,队列内的所有作业状态维持在暂停状态,已经处于识别中的任务将继续执行,不受影响
|
checkParameters, getPath
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 BaseDescribeQueuesRequest(java.lang.String bucket)
public BaseDescribeQueuesRequest(java.lang.String bucket, java.lang.String region)
public void setQueueIds(@NonNull java.lang.String queueIds)
queueIds
- 队列 IDpublic void setState(@NonNull java.lang.String state)
public void setPageNumber(int pageNumber)
pageNumber
- 第几页public void setPageSize(int pageSize)
pageSize
- 每页个数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
- 客户异常