@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PollForJobsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of a PollForJobs action.
Constructor and Description |
---|
PollForJobsResult() |
Modifier and Type | Method and Description |
---|---|
PollForJobsResult |
clone() |
boolean |
equals(Object obj) |
List<Job> |
getJobs()
Information about the jobs to take action on.
|
int |
hashCode() |
void |
setJobs(Collection<Job> jobs)
Information about the jobs to take action on.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PollForJobsResult |
withJobs(Collection<Job> jobs)
Information about the jobs to take action on.
|
PollForJobsResult |
withJobs(Job... jobs)
Information about the jobs to take action on.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Job> getJobs()
Information about the jobs to take action on.
public void setJobs(Collection<Job> jobs)
Information about the jobs to take action on.
jobs
- Information about the jobs to take action on.public PollForJobsResult withJobs(Job... jobs)
Information about the jobs to take action on.
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
- Information about the jobs to take action on.public PollForJobsResult withJobs(Collection<Job> jobs)
Information about the jobs to take action on.
jobs
- Information about the jobs to take action on.public String toString()
toString
in class Object
Object.toString()
public PollForJobsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.