public class ListThingGroupsResult extends Object implements Serializable
| Constructor and Description |
|---|
ListThingGroupsResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getNextToken()
The token used to get the next set of results, or null if there
are no additional results.
|
List<GroupNameAndArn> |
getThingGroups()
The thing groups.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token used to get the next set of results, or null if there
are no additional results.
|
void |
setThingGroups(Collection<GroupNameAndArn> thingGroups)
The thing groups.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListThingGroupsResult |
withNextToken(String nextToken)
The token used to get the next set of results, or null if there
are no additional results.
|
ListThingGroupsResult |
withThingGroups(Collection<GroupNameAndArn> thingGroups)
The thing groups.
|
ListThingGroupsResult |
withThingGroups(GroupNameAndArn... thingGroups)
The thing groups.
|
public List<GroupNameAndArn> getThingGroups()
The thing groups.
The thing groups.
public void setThingGroups(Collection<GroupNameAndArn> thingGroups)
The thing groups.
thingGroups - The thing groups.
public ListThingGroupsResult withThingGroups(GroupNameAndArn... thingGroups)
The thing groups.
Returns a reference to this object so that method calls can be chained together.
thingGroups - The thing groups.
public ListThingGroupsResult withThingGroups(Collection<GroupNameAndArn> thingGroups)
The thing groups.
Returns a reference to this object so that method calls can be chained together.
thingGroups - The thing groups.
public String getNextToken()
The token used to get the next set of results, or null if there are no additional results.
The token used to get the next set of results, or null if there are no additional results.
public void setNextToken(String nextToken)
The token used to get the next set of results, or null if there are no additional results.
nextToken - The token used to get the next set of results, or null if there are no additional results.
public ListThingGroupsResult withNextToken(String nextToken)
The token used to get the next set of results, or null if there are no additional results.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token used to get the next set of results, or null if there are no additional results.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.