Class ListJobsResult

java.lang.Object
com.amazonaws.services.devicefarm.model.ListJobsResult
All Implemented Interfaces:
Serializable, Cloneable

public class ListJobsResult extends Object implements Serializable, Cloneable

Represents the result of a list jobs request.

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    Information about the jobs.
    If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
    int
     
    void
    Information about the jobs.
    void
    setNextToken(String nextToken)
    If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
    Returns a string representation of this object; useful for testing and debugging.
    withJobs(Job... jobs)
    Information about the jobs.
    Information about the jobs.
    withNextToken(String nextToken)
    If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ListJobsResult

      public ListJobsResult()
  • Method Details

    • getJobs

      public List<Job> getJobs()

      Information about the jobs.

      Returns:
      Information about the jobs.
    • setJobs

      public void setJobs(Collection<Job> jobs)

      Information about the jobs.

      Parameters:
      jobs - Information about the jobs.
    • withJobs

      public ListJobsResult withJobs(Job... jobs)

      Information about the jobs.

      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withJobs

      public ListJobsResult withJobs(Collection<Job> jobs)

      Information about the jobs.

      Parameters:
      jobs - Information about the jobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.

      Parameters:
      nextToken - If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
    • getNextToken

      public String getNextToken()

      If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.

      Returns:
      If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
    • withNextToken

      public ListJobsResult withNextToken(String nextToken)

      If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.

      Parameters:
      nextToken - If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
      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 ListJobsResult clone()
      Overrides:
      clone in class Object