Class ListTestsResult

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

public class ListTestsResult extends Object implements Serializable, Cloneable

Represents the result of a list tests request.

See Also:
  • Constructor Details

    • ListTestsResult

      public ListTestsResult()
  • Method Details

    • getTests

      public List<Test> getTests()

      Information about the tests.

      Returns:
      Information about the tests.
    • setTests

      public void setTests(Collection<Test> tests)

      Information about the tests.

      Parameters:
      tests - Information about the tests.
    • withTests

      public ListTestsResult withTests(Test... tests)

      Information about the tests.

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

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

      public ListTestsResult withTests(Collection<Test> tests)

      Information about the tests.

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