Class ListThingsResult

java.lang.Object
com.amazonaws.services.iot.model.ListThingsResult
All Implemented Interfaces:
Serializable, Cloneable

public class ListThingsResult extends Object implements Serializable, Cloneable

The output from the ListThings operation.

See Also:
  • Constructor Details

    • ListThingsResult

      public ListThingsResult()
  • Method Details

    • getThings

      public List<ThingAttribute> getThings()

      The things.

      Returns:
      The things.
    • setThings

      public void setThings(Collection<ThingAttribute> things)

      The things.

      Parameters:
      things - The things.
    • withThings

      public ListThingsResult withThings(ThingAttribute... things)

      The things.

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

      Parameters:
      things - The things.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withThings

      public ListThingsResult withThings(Collection<ThingAttribute> things)

      The things.

      Parameters:
      things - The things.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      A token used to retrieve the next value.

      Parameters:
      nextToken - A token used to retrieve the next value.
    • getNextToken

      public String getNextToken()

      A token used to retrieve the next value.

      Returns:
      A token used to retrieve the next value.
    • withNextToken

      public ListThingsResult withNextToken(String nextToken)

      A token used to retrieve the next value.

      Parameters:
      nextToken - A token used to retrieve the next value.
      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 ListThingsResult clone()
      Overrides:
      clone in class Object