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 PollForJobsResultclone()booleanequals(Object obj)List<Job>getJobs()Information about the jobs to take action on.inthashCode()voidsetJobs(Collection<Job> jobs)Information about the jobs to take action on.StringtoString()Returns a string representation of this object; useful for testing and debugging.PollForJobsResultwithJobs(Job... jobs)Information about the jobs to take action on.PollForJobsResultwithJobs(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PollForJobsResult clone()
-
-