Class ListJobsByStatusResult

    • Constructor Detail

      • ListJobsByStatusResult

        public ListJobsByStatusResult()
    • Method Detail

      • getJobs

        public List<Job> getJobs()

        An array of Job objects that have the specified status.

        Returns:
        An array of Job objects that have the specified status.
      • setJobs

        public void setJobs​(Collection<Job> jobs)

        An array of Job objects that have the specified status.

        Parameters:
        jobs - An array of Job objects that have the specified status.
      • withJobs

        public ListJobsByStatusResult withJobs​(Job... jobs)

        An array of Job objects that have the specified status.

        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 - An array of Job objects that have the specified status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withJobs

        public ListJobsByStatusResult withJobs​(Collection<Job> jobs)

        An array of Job objects that have the specified status.

        Parameters:
        jobs - An array of Job objects that have the specified status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextPageToken

        public void setNextPageToken​(String nextPageToken)

        A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of NextPageToken is null.

        Parameters:
        nextPageToken - A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of NextPageToken is null.
      • getNextPageToken

        public String getNextPageToken()

        A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of NextPageToken is null.

        Returns:
        A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of NextPageToken is null.
      • withNextPageToken

        public ListJobsByStatusResult withNextPageToken​(String nextPageToken)

        A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of NextPageToken is null.

        Parameters:
        nextPageToken - A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of NextPageToken is null.
        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