@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListThingGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListThingGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListThingGroupsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to get the next set of results.
|
List<GroupNameAndArn> |
getThingGroups()
The thing groups.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to get the next set of results.
|
void |
setThingGroups(Collection<GroupNameAndArn> thingGroups)
The thing groups.
|
String |
toString()
Returns a string representation of this object.
|
ListThingGroupsResult |
withNextToken(String nextToken)
The token to use to get the next set of results.
|
ListThingGroupsResult |
withThingGroups(Collection<GroupNameAndArn> thingGroups)
The thing groups.
|
ListThingGroupsResult |
withThingGroups(GroupNameAndArn... thingGroups)
The thing groups.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<GroupNameAndArn> getThingGroups()
The thing groups.
public void setThingGroups(Collection<GroupNameAndArn> thingGroups)
The thing groups.
thingGroups
- The thing groups.public ListThingGroupsResult withThingGroups(GroupNameAndArn... thingGroups)
The thing groups.
NOTE: This method appends the values to the existing list (if any). Use
setThingGroups(java.util.Collection)
or withThingGroups(java.util.Collection)
if you want to
override the existing values.
thingGroups
- The thing groups.public ListThingGroupsResult withThingGroups(Collection<GroupNameAndArn> thingGroups)
The thing groups.
thingGroups
- The thing groups.public void setNextToken(String nextToken)
The token to use to get the next set of results. Will not be returned if operation has returned all results.
nextToken
- The token to use to get the next set of results. Will not be returned if operation has returned all
results.public String getNextToken()
The token to use to get the next set of results. Will not be returned if operation has returned all results.
public ListThingGroupsResult withNextToken(String nextToken)
The token to use to get the next set of results. Will not be returned if operation has returned all results.
nextToken
- The token to use to get the next set of results. Will not be returned if operation has returned all
results.public String toString()
toString
in class Object
Object.toString()
public ListThingGroupsResult clone()