@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) |
String |
getAccountId()
|
List<String> |
getJobStatuses()
The
List Jobs request returns jobs that match the statuses listed in this element. |
Integer |
getMaxResults()
The maximum number of jobs that Amazon S3 will include in the
List Jobs response. |
String |
getNextToken()
A pagination token to request the next page of results.
|
int |
hashCode() |
void |
setAccountId(String accountId)
|
void |
setJobStatuses(Collection<String> jobStatuses)
The
List Jobs request returns jobs that match the statuses listed in this element. |
void |
setMaxResults(Integer maxResults)
The maximum number of jobs that Amazon S3 will include in the
List Jobs response. |
void |
setNextToken(String nextToken)
A pagination token to request the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListJobsRequest |
withAccountId(String accountId)
|
ListJobsRequest |
withJobStatuses(Collection<String> jobStatuses)
The
List Jobs request returns jobs that match the statuses listed in this element. |
ListJobsRequest |
withJobStatuses(JobStatus... jobStatuses)
The
List Jobs request returns jobs that match the statuses listed in this element. |
ListJobsRequest |
withJobStatuses(String... jobStatuses)
The
List Jobs request returns jobs that match the statuses listed in this element. |
ListJobsRequest |
withMaxResults(Integer maxResults)
The maximum number of jobs that Amazon S3 will include in the
List Jobs response. |
ListJobsRequest |
withNextToken(String nextToken)
A pagination token to request the next page of results.
|
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 setAccountId(String accountId)
accountId
- public String getAccountId()
public ListJobsRequest withAccountId(String accountId)
accountId
- public List<String> getJobStatuses()
The List Jobs
request returns jobs that match the statuses listed in this element.
List Jobs
request returns jobs that match the statuses listed in this element.JobStatus
public void setJobStatuses(Collection<String> jobStatuses)
The List Jobs
request returns jobs that match the statuses listed in this element.
jobStatuses
- The List Jobs
request returns jobs that match the statuses listed in this element.JobStatus
public ListJobsRequest withJobStatuses(String... jobStatuses)
The List Jobs
request returns jobs that match the statuses listed in this element.
NOTE: This method appends the values to the existing list (if any). Use
setJobStatuses(java.util.Collection)
or withJobStatuses(java.util.Collection)
if you want to
override the existing values.
jobStatuses
- The List Jobs
request returns jobs that match the statuses listed in this element.JobStatus
public ListJobsRequest withJobStatuses(Collection<String> jobStatuses)
The List Jobs
request returns jobs that match the statuses listed in this element.
jobStatuses
- The List Jobs
request returns jobs that match the statuses listed in this element.JobStatus
public ListJobsRequest withJobStatuses(JobStatus... jobStatuses)
The List Jobs
request returns jobs that match the statuses listed in this element.
jobStatuses
- The List Jobs
request returns jobs that match the statuses listed in this element.JobStatus
public void setNextToken(String nextToken)
A pagination token to request the next page of results. Use the token that Amazon S3 returned in the
NextToken
element of the ListJobsResult
from the previous List Jobs
request.
nextToken
- A pagination token to request the next page of results. Use the token that Amazon S3 returned in the
NextToken
element of the ListJobsResult
from the previous List Jobs
request.public String getNextToken()
A pagination token to request the next page of results. Use the token that Amazon S3 returned in the
NextToken
element of the ListJobsResult
from the previous List Jobs
request.
NextToken
element of the ListJobsResult
from the previous
List Jobs
request.public ListJobsRequest withNextToken(String nextToken)
A pagination token to request the next page of results. Use the token that Amazon S3 returned in the
NextToken
element of the ListJobsResult
from the previous List Jobs
request.
nextToken
- A pagination token to request the next page of results. Use the token that Amazon S3 returned in the
NextToken
element of the ListJobsResult
from the previous List Jobs
request.public void setMaxResults(Integer maxResults)
The maximum number of jobs that Amazon S3 will include in the List Jobs
response. If there are more
jobs than this number, the response will include a pagination token in the NextToken
field to enable
you to retrieve the next page of results.
maxResults
- The maximum number of jobs that Amazon S3 will include in the List Jobs
response. If there
are more jobs than this number, the response will include a pagination token in the NextToken
field to enable you to retrieve the next page of results.public Integer getMaxResults()
The maximum number of jobs that Amazon S3 will include in the List Jobs
response. If there are more
jobs than this number, the response will include a pagination token in the NextToken
field to enable
you to retrieve the next page of results.
List Jobs
response. If there
are more jobs than this number, the response will include a pagination token in the
NextToken
field to enable you to retrieve the next page of results.public ListJobsRequest withMaxResults(Integer maxResults)
The maximum number of jobs that Amazon S3 will include in the List Jobs
response. If there are more
jobs than this number, the response will include a pagination token in the NextToken
field to enable
you to retrieve the next page of results.
maxResults
- The maximum number of jobs that Amazon S3 will include in the List Jobs
response. If there
are more jobs than this number, the response will include a pagination token in the NextToken
field to enable you to retrieve the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListJobsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.