Package com.amazonaws.services.iot.model
Class ListPrincipalThingsResult
- java.lang.Object
-
- com.amazonaws.services.iot.model.ListPrincipalThingsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListPrincipalThingsResult extends Object implements Serializable, Cloneable
The output from the ListPrincipalThings operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListPrincipalThingsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPrincipalThingsResult
clone()
boolean
equals(Object obj)
String
getNextToken()
A token used to retrieve the next value.List<String>
getThings()
The things.int
hashCode()
void
setNextToken(String nextToken)
A token used to retrieve the next value.void
setThings(Collection<String> things)
The things.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListPrincipalThingsResult
withNextToken(String nextToken)
A token used to retrieve the next value.ListPrincipalThingsResult
withThings(String... things)
The things.ListPrincipalThingsResult
withThings(Collection<String> things)
The things.
-
-
-
Method Detail
-
setThings
public void setThings(Collection<String> things)
The things.
- Parameters:
things
- The things.
-
withThings
public ListPrincipalThingsResult withThings(String... things)
The things.
NOTE: This method appends the values to the existing list (if any). Use
setThings(java.util.Collection)
orwithThings(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 ListPrincipalThingsResult withThings(Collection<String> 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 ListPrincipalThingsResult 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListPrincipalThingsResult clone()
-
-