@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchJobsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
SearchJobsRequest() |
| Modifier and Type | Method and Description |
|---|---|
SearchJobsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInputFile()
Optional.
|
Integer |
getMaxResults()
Optional.
|
String |
getNextToken()
Optional.
|
String |
getOrder()
Optional.
|
String |
getQueue()
Optional.
|
String |
getStatus()
Optional.
|
int |
hashCode() |
void |
setInputFile(String inputFile)
Optional.
|
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.
|
SearchJobsRequest |
withInputFile(String inputFile)
Optional.
|
SearchJobsRequest |
withMaxResults(Integer maxResults)
Optional.
|
SearchJobsRequest |
withNextToken(String nextToken)
Optional.
|
SearchJobsRequest |
withOrder(Order order)
Optional.
|
SearchJobsRequest |
withOrder(String order)
Optional.
|
SearchJobsRequest |
withQueue(String queue)
Optional.
|
SearchJobsRequest |
withStatus(JobStatus status)
Optional.
|
SearchJobsRequest |
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, withSdkRequestTimeoutpublic void setInputFile(String inputFile)
inputFile - Optional. Provide your input file URL or your partial input file name. The maximum length for an input
file is 300 characters.public String getInputFile()
public SearchJobsRequest withInputFile(String inputFile)
inputFile - Optional. Provide your input file URL or your partial input file name. The maximum length for an input
file is 300 characters.public void setMaxResults(Integer maxResults)
maxResults - Optional. Number of jobs, up to twenty, that will be returned at one time.public Integer getMaxResults()
public SearchJobsRequest 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 SearchJobsRequest 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.Orderpublic String getOrder()
Orderpublic SearchJobsRequest 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.Orderpublic SearchJobsRequest 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.Orderpublic void setQueue(String queue)
queue - Optional. Provide a queue name, or a queue ARN, to return only jobs from that queue.public String getQueue()
public SearchJobsRequest withQueue(String queue)
queue - Optional. Provide a queue name, or a queue ARN, to return only jobs from that queue.public void setStatus(String status)
status - Optional. A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.JobStatuspublic String getStatus()
JobStatuspublic SearchJobsRequest withStatus(String status)
status - Optional. A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.JobStatuspublic SearchJobsRequest withStatus(JobStatus status)
status - Optional. A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.JobStatuspublic String toString()
toString in class ObjectObject.toString()public SearchJobsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()