public class ListThingsRequest extends AmazonWebServiceRequest implements Serializable
Lists your things. Use the attributeName and attributeValue
parameters to filter your things. For example, calling
ListThings with attributeName=Color and attributeValue=Red
retrieves all things in the registry that contain an attribute Color
with the value Red.
| Constructor and Description |
|---|
ListThingsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAttributeName()
The attribute name used to search for things.
|
String |
getAttributeValue()
The attribute value used to search for things.
|
Integer |
getMaxResults()
The maximum number of results to return in this operation.
|
String |
getNextToken()
The token for the next set of results, or null if there are no
additional results.
|
String |
getThingTypeName()
The name of the thing type used to search for things.
|
int |
hashCode() |
void |
setAttributeName(String attributeName)
The attribute name used to search for things.
|
void |
setAttributeValue(String attributeValue)
The attribute value used to search for things.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in this operation.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no
additional results.
|
void |
setThingTypeName(String thingTypeName)
The name of the thing type used to search for things.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListThingsRequest |
withAttributeName(String attributeName)
The attribute name used to search for things.
|
ListThingsRequest |
withAttributeValue(String attributeValue)
The attribute value used to search for things.
|
ListThingsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in this operation.
|
ListThingsRequest |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no
additional results.
|
ListThingsRequest |
withThingTypeName(String thingTypeName)
The name of the thing type used to search for things.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getNextToken()
The token for the next set of results, or null if there are no additional results.
The token for the next set of results, or null if there are no additional results.
public void setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken - The token for the next set of results, or null if there are no additional results.
public ListThingsRequest withNextToken(String nextToken)
The token for 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 for the next set of results, or null if there are no additional results.
public Integer getMaxResults()
The maximum number of results to return in this operation.
Constraints:
Range: 1 - 10000
The maximum number of results to return in this operation.
public void setMaxResults(Integer maxResults)
The maximum number of results to return in this operation.
Constraints:
Range: 1 - 10000
maxResults - The maximum number of results to return in this operation.
public ListThingsRequest withMaxResults(Integer maxResults)
The maximum number of results to return in this operation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 10000
maxResults - The maximum number of results to return in this operation.
public String getAttributeName()
The attribute name used to search for things.
Constraints:
Length: - 128
Pattern: [a-zA-Z0-9_.,@/:#-]+
The attribute name used to search for things.
public void setAttributeName(String attributeName)
The attribute name used to search for things.
Constraints:
Length: - 128
Pattern: [a-zA-Z0-9_.,@/:#-]+
attributeName - The attribute name used to search for things.
public ListThingsRequest withAttributeName(String attributeName)
The attribute name used to search for things.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 128
Pattern: [a-zA-Z0-9_.,@/:#-]+
attributeName - The attribute name used to search for things.
public String getAttributeValue()
The attribute value used to search for things.
Constraints:
Length: - 800
Pattern: [a-zA-Z0-9_.,@/:#-]*
The attribute value used to search for things.
public void setAttributeValue(String attributeValue)
The attribute value used to search for things.
Constraints:
Length: - 800
Pattern: [a-zA-Z0-9_.,@/:#-]*
attributeValue - The attribute value used to search for things.
public ListThingsRequest withAttributeValue(String attributeValue)
The attribute value used to search for things.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 800
Pattern: [a-zA-Z0-9_.,@/:#-]*
attributeValue - The attribute value used to search for things.
public String getThingTypeName()
The name of the thing type used to search for things.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the thing type used to search for things.
public void setThingTypeName(String thingTypeName)
The name of the thing type used to search for things.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingTypeName - The name of the thing type used to search for things.
public ListThingsRequest withThingTypeName(String thingTypeName)
The name of the thing type used to search for things.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingTypeName - The name of the thing type used to search for things.
public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.