Class PollForJobsResult

    • Constructor Detail

      • PollForJobsResult

        public PollForJobsResult()
    • 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) or withJobs(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 class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object