public class PollForJobsResult extends Object implements Serializable, Cloneable
Represents the output of a poll for jobs 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.
|
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 © 2015. All rights reserved.