@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) |
List<SearchJobsFilter> |
getFilters()
The filter values to use when searching for a job.
|
Integer |
getMaxResults()
The maximum number of results to return in the response.
|
String |
getNextToken()
A token used for pagination of results returned in the response.
|
int |
hashCode() |
void |
setFilters(Collection<SearchJobsFilter> filters)
The filter values to use when searching for a job.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in the response.
|
void |
setNextToken(String nextToken)
A token used for pagination of results returned in the response.
|
String |
toString()
Returns a string representation of this object.
|
SearchJobsRequest |
withFilters(Collection<SearchJobsFilter> filters)
The filter values to use when searching for a job.
|
SearchJobsRequest |
withFilters(SearchJobsFilter... filters)
The filter values to use when searching for a job.
|
SearchJobsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in the response.
|
SearchJobsRequest |
withNextToken(String nextToken)
A token used for pagination of results returned in the response.
|
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 List<SearchJobsFilter> getFilters()
The filter values to use when searching for a job.
public void setFilters(Collection<SearchJobsFilter> filters)
The filter values to use when searching for a job.
filters
- The filter values to use when searching for a job.public SearchJobsRequest withFilters(SearchJobsFilter... filters)
The filter values to use when searching for a job.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- The filter values to use when searching for a job.public SearchJobsRequest withFilters(Collection<SearchJobsFilter> filters)
The filter values to use when searching for a job.
filters
- The filter values to use when searching for a job.public void setMaxResults(Integer maxResults)
The maximum number of results to return in the response.
maxResults
- The maximum number of results to return in the response.public Integer getMaxResults()
The maximum number of results to return in the response.
public SearchJobsRequest withMaxResults(Integer maxResults)
The maximum number of results to return in the response.
maxResults
- The maximum number of results to return in the response.public void setNextToken(String nextToken)
A token used for pagination of results returned in the response. Use the token returned from the previous request to continue results where the previous request ended.
nextToken
- A token used for pagination of results returned in the response. Use the token returned from the previous
request to continue results where the previous request ended.public String getNextToken()
A token used for pagination of results returned in the response. Use the token returned from the previous request to continue results where the previous request ended.
public SearchJobsRequest withNextToken(String nextToken)
A token used for pagination of results returned in the response. Use the token returned from the previous request to continue results where the previous request ended.
nextToken
- A token used for pagination of results returned in the response. Use the token returned from the previous
request to continue results where the previous request ended.public String toString()
toString
in class Object
Object.toString()
public SearchJobsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()