public class ListThingGroupsRequest extends AmazonWebServiceRequest implements java.io.Serializable
List the thing groups in your account.
Constructor and Description |
---|
ListThingGroupsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getMaxResults()
The maximum number of results to return at one time.
|
java.lang.String |
getNamePrefixFilter()
A filter that limits the results to those with the specified name prefix.
|
java.lang.String |
getNextToken()
To retrieve the next set of results, the
nextToken value
from a previous response; otherwise null to receive the first set
of results. |
java.lang.String |
getParentGroup()
A filter that limits the results to those with the specified parent
group.
|
java.lang.Boolean |
getRecursive()
If true, return child groups as well.
|
int |
hashCode() |
java.lang.Boolean |
isRecursive()
If true, return child groups as well.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time.
|
void |
setNamePrefixFilter(java.lang.String namePrefixFilter)
A filter that limits the results to those with the specified name prefix.
|
void |
setNextToken(java.lang.String nextToken)
To retrieve the next set of results, the
nextToken value
from a previous response; otherwise null to receive the first set
of results. |
void |
setParentGroup(java.lang.String parentGroup)
A filter that limits the results to those with the specified parent
group.
|
void |
setRecursive(java.lang.Boolean recursive)
If true, return child groups as well.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListThingGroupsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time.
|
ListThingGroupsRequest |
withNamePrefixFilter(java.lang.String namePrefixFilter)
A filter that limits the results to those with the specified name prefix.
|
ListThingGroupsRequest |
withNextToken(java.lang.String nextToken)
To retrieve the next set of results, the
nextToken value
from a previous response; otherwise null to receive the first set
of results. |
ListThingGroupsRequest |
withParentGroup(java.lang.String parentGroup)
A filter that limits the results to those with the specified parent
group.
|
ListThingGroupsRequest |
withRecursive(java.lang.Boolean recursive)
If true, return child groups as well.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getNextToken()
To retrieve the next set of results, the nextToken
value
from a previous response; otherwise null to receive the first set
of results.
To retrieve the next set of results, the nextToken
value from a previous response; otherwise null to receive
the first set of results.
public void setNextToken(java.lang.String nextToken)
To retrieve the next set of results, the nextToken
value
from a previous response; otherwise null to receive the first set
of results.
nextToken
-
To retrieve the next set of results, the
nextToken
value from a previous response;
otherwise null to receive the first set of results.
public ListThingGroupsRequest withNextToken(java.lang.String nextToken)
To retrieve the next set of results, the nextToken
value
from a previous response; otherwise null to receive the first set
of results.
Returns a reference to this object so that method calls can be chained together.
nextToken
-
To retrieve the next set of results, the
nextToken
value from a previous response;
otherwise null to receive the first set of results.
public java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.Boolean isRecursive()
If true, return child groups as well.
If true, return child groups as well.
public java.lang.Boolean getRecursive()
If true, return child groups as well.
If true, return child groups as well.
public void setRecursive(java.lang.Boolean recursive)
If true, return child groups as well.
recursive
- If true, return child groups as well.
public ListThingGroupsRequest withRecursive(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.