类 ListJobsRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.batch.model.ListJobsRequest
-
public class ListJobsRequest extends AbstractBceRequest
Provides options for listing jobs.The optional query parameters are marker and max keys.
-
-
构造器概要
构造器 构造器 说明 ListJobsRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetMarker()intgetMaxKeys()voidsetMarker(String marker)voidsetMaxKeys(int maxKeys)ListJobsRequestwithMarker(String marker)Configure the marker for the query request.ListJobsRequestwithMaxKeys(int maxKeys)Configure the max count for each response page.ListJobsRequestwithRequestCredentials(BceCredentials credentials)Configure request credential for the request.-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
getMarker
public String getMarker()
-
setMarker
public void setMarker(String marker)
-
getMaxKeys
public int getMaxKeys()
-
setMaxKeys
public void setMaxKeys(int maxKeys)
-
withMarker
public ListJobsRequest withMarker(String marker)
Configure the marker for the query request. The marker marks the starting point for the query.- 参数:
marker- the marker- 返回:
- ListJobsRequest
-
withMaxKeys
public ListJobsRequest withMaxKeys(int maxKeys)
Configure the max count for each response page. The max keys can not more than 1000, any number exceeding 1000 will be reset to 1000.- 参数:
maxKeys- The max count for each response page.- 返回:
- ListJobsRequest
-
withRequestCredentials
public ListJobsRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.- 指定者:
withRequestCredentials在类中AbstractBceRequest- 参数:
credentials- a valid instance of BceCredentials.- 返回:
- ListJobsRequest
-
-