@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListJobsResult extends AmazonWebServiceResult<S3ControlResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListJobsResult() |
Modifier and Type | Method and Description |
---|---|
ListJobsResult |
clone() |
boolean |
equals(Object obj) |
List<JobListDescriptor> |
getJobs()
The list of current jobs and jobs that have ended within the last 30 days.
|
String |
getNextToken()
If the
List Jobs request produced more than the maximum number of results, you can pass this value
into a subsequent List Jobs request in order to retrieve the next page of results. |
int |
hashCode() |
void |
setJobs(Collection<JobListDescriptor> jobs)
The list of current jobs and jobs that have ended within the last 30 days.
|
void |
setNextToken(String nextToken)
If the
List Jobs request produced more than the maximum number of results, you can pass this value
into a subsequent List Jobs request in order to retrieve the next page of results. |
String |
toString()
Returns a string representation of this object.
|
ListJobsResult |
withJobs(Collection<JobListDescriptor> jobs)
The list of current jobs and jobs that have ended within the last 30 days.
|
ListJobsResult |
withJobs(JobListDescriptor... jobs)
The list of current jobs and jobs that have ended within the last 30 days.
|
ListJobsResult |
withNextToken(String nextToken)
If the
List Jobs request produced more than the maximum number of results, you can pass this value
into a subsequent List Jobs request in order to retrieve the next page of results. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
If the List Jobs
request produced more than the maximum number of results, you can pass this value
into a subsequent List Jobs
request in order to retrieve the next page of results.
nextToken
- If the List Jobs
request produced more than the maximum number of results, you can pass this
value into a subsequent List Jobs
request in order to retrieve the next page of results.public String getNextToken()
If the List Jobs
request produced more than the maximum number of results, you can pass this value
into a subsequent List Jobs
request in order to retrieve the next page of results.
List Jobs
request produced more than the maximum number of results, you can pass this
value into a subsequent List Jobs
request in order to retrieve the next page of results.public ListJobsResult withNextToken(String nextToken)
If the List Jobs
request produced more than the maximum number of results, you can pass this value
into a subsequent List Jobs
request in order to retrieve the next page of results.
nextToken
- If the List Jobs
request produced more than the maximum number of results, you can pass this
value into a subsequent List Jobs
request in order to retrieve the next page of results.public List<JobListDescriptor> getJobs()
The list of current jobs and jobs that have ended within the last 30 days.
public void setJobs(Collection<JobListDescriptor> jobs)
The list of current jobs and jobs that have ended within the last 30 days.
jobs
- The list of current jobs and jobs that have ended within the last 30 days.public ListJobsResult withJobs(JobListDescriptor... jobs)
The list of current jobs and jobs that have ended within the last 30 days.
NOTE: This method appends the values to the existing list (if any). Use
setJobs(java.util.Collection)
or withJobs(java.util.Collection)
if you want to override the
existing values.
jobs
- The list of current jobs and jobs that have ended within the last 30 days.public ListJobsResult withJobs(Collection<JobListDescriptor> jobs)
The list of current jobs and jobs that have ended within the last 30 days.
jobs
- The list of current jobs and jobs that have ended within the last 30 days.public String toString()
toString
in class Object
Object.toString()
public ListJobsResult clone()