public class ListThingGroupsRequest extends AmazonWebServiceRequest implements Serializable
List the thing groups in your account.
Constructor and Description |
---|
ListThingGroupsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to return at one time.
|
String |
getNamePrefixFilter()
A filter that limits the results to those with the specified name prefix.
|
String |
getNextToken()
The token to retrieve the next set of results.
|
String |
getParentGroup()
A filter that limits the results to those with the specified parent
group.
|
Boolean |
getRecursive()
If true, return child groups as well.
|
int |
hashCode() |
Boolean |
isRecursive()
If true, return child groups as well.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return at one time.
|
void |
setNamePrefixFilter(String namePrefixFilter)
A filter that limits the results to those with the specified name prefix.
|
void |
setNextToken(String nextToken)
The token to retrieve the next set of results.
|
void |
setParentGroup(String parentGroup)
A filter that limits the results to those with the specified parent
group.
|
void |
setRecursive(Boolean recursive)
If true, return child groups as well.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListThingGroupsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return at one time.
|
ListThingGroupsRequest |
withNamePrefixFilter(String namePrefixFilter)
A filter that limits the results to those with the specified name prefix.
|
ListThingGroupsRequest |
withNextToken(String nextToken)
The token to retrieve the next set of results.
|
ListThingGroupsRequest |
withParentGroup(String parentGroup)
A filter that limits the results to those with the specified parent
group.
|
ListThingGroupsRequest |
withRecursive(Boolean recursive)
If true, return child groups as well.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getNextToken()
The token to retrieve the next set of results.
The token to retrieve the next set of results.
public void setNextToken(String nextToken)
The token to retrieve the next set of results.
nextToken
- The token to retrieve the next set of results.
public ListThingGroupsRequest withNextToken(String nextToken)
The token to retrieve the next set of results.
Returns a reference to this object so that method calls can be chained together.
nextToken
- The token to retrieve the next set of 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 ListThingGroupsRequest 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 getParentGroup()
A filter that limits the results to those with the specified parent group.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
A filter that limits the results to those with the specified parent group.
public void setParentGroup(String parentGroup)
A filter that limits the results to those with the specified parent group.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
parentGroup
- A filter that limits the results to those with the specified parent group.
public ListThingGroupsRequest withParentGroup(String parentGroup)
A filter that limits the results to those with the specified parent group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
parentGroup
- A filter that limits the results to those with the specified parent group.
public String getNamePrefixFilter()
A filter that limits the results to those with the specified name prefix.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
A filter that limits the results to those with the specified name prefix.
public void setNamePrefixFilter(String namePrefixFilter)
A filter that limits the results to those with the specified name prefix.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
namePrefixFilter
- A filter that limits the results to those with the specified name prefix.
public ListThingGroupsRequest withNamePrefixFilter(String namePrefixFilter)
A filter that limits the results to those with the specified name prefix.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
namePrefixFilter
- A filter that limits the results to those with the specified name prefix.
public Boolean isRecursive()
If true, return child groups as well.
If true, return child groups as well.
public Boolean getRecursive()
If true, return child groups as well.
If true, return child groups as well.
public void setRecursive(Boolean recursive)
If true, return child groups as well.
recursive
- If true, return child groups as well.
public ListThingGroupsRequest withRecursive(Boolean recursive)
If true, return child groups as well.
Returns a reference to this object so that method calls can be chained together.
recursive
- If true, return child groups as well.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2019. All rights reserved.