Class ListRunsResult

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

public class ListRunsResult extends Object implements Serializable, Cloneable

Represents the result of a list runs request.

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    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.
    Information about the runs.
    int
     
    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.
    void
    Information about the runs.
    Returns a string representation of this object; useful for testing and debugging.
    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.
    withRuns(Run... runs)
    Information about the runs.
    Information about the runs.

    Methods inherited from class java.lang.Object

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

    • ListRunsResult

      public ListRunsResult()
  • Method Details

    • getRuns

      public List<Run> getRuns()

      Information about the runs.

      Returns:
      Information about the runs.
    • setRuns

      public void setRuns(Collection<Run> runs)

      Information about the runs.

      Parameters:
      runs - Information about the runs.
    • withRuns

      public ListRunsResult withRuns(Run... runs)

      Information about the runs.

      NOTE: This method appends the values to the existing list (if any). Use setRuns(java.util.Collection) or withRuns(java.util.Collection) if you want to override the existing values.

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

      public ListRunsResult withRuns(Collection<Run> runs)

      Information about the runs.

      Parameters:
      runs - Information about the runs.
      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 ListRunsResult 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 ListRunsResult clone()
      Overrides:
      clone in class Object