@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()
The Amazon Web Services account ID associated with the S3 Batch Operations job.
|
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)
The Amazon Web Services account ID associated with the S3 Batch Operations job.
|
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)
The Amazon Web Services account ID associated with the S3 Batch Operations job.
|
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, withSdkRequestTimeoutpublic void setAccountId(String accountId)
The Amazon Web Services account ID associated with the S3 Batch Operations job.
accountId - The Amazon Web Services account ID associated with the S3 Batch Operations job.public String getAccountId()
The Amazon Web Services account ID associated with the S3 Batch Operations job.
public ListJobsRequest withAccountId(String accountId)
The Amazon Web Services account ID associated with the S3 Batch Operations job.
accountId - The Amazon Web Services account ID associated with the S3 Batch Operations job.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.JobStatuspublic 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.JobStatuspublic 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.JobStatuspublic 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.JobStatuspublic 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.JobStatuspublic 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 ObjectObject.toString()public ListJobsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()