@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListJobsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListJobsRequest() |
Modifier and Type | Method and Description |
---|---|
ListJobsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
Optional.
|
String |
getNextToken()
Optional.
|
String |
getOrder()
Optional.
|
String |
getQueue()
Optional.
|
String |
getStatus()
Optional.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
Optional.
|
void |
setNextToken(String nextToken)
Optional.
|
void |
setOrder(String order)
Optional.
|
void |
setQueue(String queue)
Optional.
|
void |
setStatus(String status)
Optional.
|
String |
toString()
Returns a string representation of this object.
|
ListJobsRequest |
withMaxResults(Integer maxResults)
Optional.
|
ListJobsRequest |
withNextToken(String nextToken)
Optional.
|
ListJobsRequest |
withOrder(Order order)
Optional.
|
ListJobsRequest |
withOrder(String order)
Optional.
|
ListJobsRequest |
withQueue(String queue)
Optional.
|
ListJobsRequest |
withStatus(JobStatus status)
Optional.
|
ListJobsRequest |
withStatus(String status)
Optional.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setMaxResults(Integer maxResults)
maxResults
- Optional. Number of jobs, up to twenty, that will be returned at one time.public Integer getMaxResults()
public ListJobsRequest withMaxResults(Integer maxResults)
maxResults
- Optional. Number of jobs, up to twenty, that will be returned at one time.public void setNextToken(String nextToken)
nextToken
- Optional. Use this string, provided with the response to a previous request, to request the next batch of
jobs.public String getNextToken()
public ListJobsRequest withNextToken(String nextToken)
nextToken
- Optional. Use this string, provided with the response to a previous request, to request the next batch of
jobs.public void setOrder(String order)
order
- Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or
DESCENDING order. Default varies by resource.Order
public String getOrder()
Order
public ListJobsRequest withOrder(String order)
order
- Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or
DESCENDING order. Default varies by resource.Order
public ListJobsRequest withOrder(Order order)
order
- Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or
DESCENDING order. Default varies by resource.Order
public void setQueue(String queue)
queue
- Optional. Provide a queue name to get back only jobs from that queue.public String getQueue()
public ListJobsRequest withQueue(String queue)
queue
- Optional. Provide a queue name to get back only jobs from that queue.public void setStatus(String status)
status
- Optional. A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.JobStatus
public String getStatus()
JobStatus
public ListJobsRequest withStatus(String status)
status
- Optional. A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.JobStatus
public ListJobsRequest withStatus(JobStatus status)
status
- Optional. A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.JobStatus
public String toString()
toString
in class Object
Object.toString()
public ListJobsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()