@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListThingGroupsForThingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListThingGroupsForThingResult() |
Modifier and Type | Method and Description |
---|---|
ListThingGroupsForThingResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use 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 to use 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.
|
ListThingGroupsForThingResult |
withNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
|
ListThingGroupsForThingResult |
withThingGroups(Collection<GroupNameAndArn> thingGroups)
The thing groups.
|
ListThingGroupsForThingResult |
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 ListThingGroupsForThingResult 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 ListThingGroupsForThingResult 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, or null if there are no additional results.
nextToken
- The token to use to get the next set of results, or null if there are no additional results.public String getNextToken()
The token to use to get the next set of results, or null if there are no additional results.
public ListThingGroupsForThingResult withNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
nextToken
- The token to use to get the next set of results, or null if there are no additional results.public String toString()
toString
in class Object
Object.toString()
public ListThingGroupsForThingResult clone()