@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.
|
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, setSdkResponseMetadatapublic 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 ObjectObject.toString()public PollForJobsResult clone()
Copyright © 2022. All rights reserved.