public class ListThingGroupsForThingRequest extends AmazonWebServiceRequest implements Serializable
List the thing groups to which the specified thing belongs.
| Constructor and Description |
|---|
ListThingGroupsForThingRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to return at one time.
|
String |
getNextToken()
The token used to get the next set of results, or null if there
are no additional results.
|
String |
getThingName()
The thing name.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return at one time.
|
void |
setNextToken(String nextToken)
The token used to get the next set of results, or null if there
are no additional results.
|
void |
setThingName(String thingName)
The thing name.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListThingGroupsForThingRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return at one time.
|
ListThingGroupsForThingRequest |
withNextToken(String nextToken)
The token used to get the next set of results, or null if there
are no additional results.
|
ListThingGroupsForThingRequest |
withThingName(String thingName)
The thing name.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getThingName()
The thing name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The thing name.
public void setThingName(String thingName)
The thing name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingName - The thing name.
public ListThingGroupsForThingRequest withThingName(String thingName)
The thing name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingName - The thing name.
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 ListThingGroupsForThingRequest 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 Integer getMaxResults()
The maximum number of results to return at one time.
Constraints:
Range: 1 - 250
The maximum number of results to return at one time.
public void setMaxResults(Integer maxResults)
The maximum number of results to return at one time.
Constraints:
Range: 1 - 250
maxResults - The maximum number of results to return at one time.
public ListThingGroupsForThingRequest withMaxResults(Integer maxResults)
The maximum number of results to return at one time.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 250
maxResults - The maximum number of results to return at one time.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.