Class PollForJobsResult
- java.lang.Object
-
- com.amazonaws.services.codepipeline.model.PollForJobsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class PollForJobsResult extends Object implements Serializable, Cloneable
Represents the output of a poll for jobs action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PollForJobsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(Job... jobs)
Information about the jobs to take action on.PollForJobsResult
withJobs(Collection<Job> jobs)
Information about the jobs to take action on.
-
-
-
Method Detail
-
getJobs
public List<Job> getJobs()
Information about the jobs to take action on.
- Returns:
- Information about the jobs to take action on.
-
setJobs
public void setJobs(Collection<Job> jobs)
Information about the jobs to take action on.
- Parameters:
jobs
- Information about the jobs to take action on.
-
withJobs
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)
orwithJobs(java.util.Collection)
if you want to override the existing values.- Parameters:
jobs
- Information about the jobs to take action on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withJobs
public PollForJobsResult withJobs(Collection<Job> jobs)
Information about the jobs to take action on.
- Parameters:
jobs
- Information about the jobs to take action on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PollForJobsResult clone()
-
-