com.baidubce.services.batch.model
Class ListJobsRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by 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.


Constructor Summary
ListJobsRequest()
           
 
Method Summary
 String getMarker()
           
 int getMaxKeys()
           
 void setMarker(String marker)
           
 void setMaxKeys(int maxKeys)
           
 ListJobsRequest withMarker(String marker)
          Configure the marker for the query request.
 ListJobsRequest withMaxKeys(int maxKeys)
          Configure the max count for each response page.
 ListJobsRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential for the request.
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListJobsRequest

public ListJobsRequest()
Method Detail

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.

Parameters:
marker - the marker
Returns:
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.

Parameters:
maxKeys - The max count for each response page.
Returns:
ListJobsRequest

withRequestCredentials

public ListJobsRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.

Specified by:
withRequestCredentials in class AbstractBceRequest
Parameters:
credentials - a valid instance of BceCredentials.
Returns:
ListJobsRequest


Copyright © 2018. All rights reserved.