Class ListJobsByStatusResult

java.lang.Object
com.amazonaws.services.elastictranscoder.model.ListJobsByStatusResult
All Implemented Interfaces:
Serializable, Cloneable

public class ListJobsByStatusResult extends Object implements Serializable, Cloneable

The ListJobsByStatusResponse structure.

See Also:
  • Constructor Details

    • ListJobsByStatusResult

      public ListJobsByStatusResult()
  • Method Details

    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ListJobsByStatusResult clone()
      Overrides:
      clone in class Object