public class ListThingsRequest extends AmazonWebServiceRequest implements Serializable
ListThings operation.
Lists your things. You can pass an AttributeName or AttributeValue to filter your things (for example, "ListThings where AttributeName=Color and AttributeValue=Red").
| Constructor and Description |
|---|
ListThingsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAttributeName()
The attribute name.
|
String |
getAttributeValue()
The attribute value.
|
Integer |
getMaxResults()
The maximum number of results.
|
String |
getNextToken()
The token for the next value.
|
int |
hashCode() |
void |
setAttributeName(String attributeName)
The attribute name.
|
void |
setAttributeValue(String attributeValue)
The attribute value.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results.
|
void |
setNextToken(String nextToken)
The token for the next value.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListThingsRequest |
withAttributeName(String attributeName)
The attribute name.
|
ListThingsRequest |
withAttributeValue(String attributeValue)
The attribute value.
|
ListThingsRequest |
withMaxResults(Integer maxResults)
The maximum number of results.
|
ListThingsRequest |
withNextToken(String nextToken)
The token for the next value.
|
getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic String getNextToken()
public void setNextToken(String nextToken)
nextToken - The token for the next value.public ListThingsRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken - The token for the next value.public Integer getMaxResults()
Constraints:
Range: 1 - 250
public void setMaxResults(Integer maxResults)
Constraints:
Range: 1 - 250
maxResults - The maximum number of results.public ListThingsRequest withMaxResults(Integer maxResults)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 250
maxResults - The maximum number of results.public String getAttributeName()
Constraints:
Length: 0 - 128
Pattern: [a-zA-Z0-9_.,@/:#-]+
public void setAttributeName(String attributeName)
Constraints:
Length: 0 - 128
Pattern: [a-zA-Z0-9_.,@/:#-]+
attributeName - The attribute name.public ListThingsRequest withAttributeName(String attributeName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 128
Pattern: [a-zA-Z0-9_.,@/:#-]+
attributeName - The attribute name.public String getAttributeValue()
Constraints:
Length: 0 - 1024
Pattern: [a-zA-Z0-9_.,@/:#-]+
public void setAttributeValue(String attributeValue)
Constraints:
Length: 0 - 1024
Pattern: [a-zA-Z0-9_.,@/:#-]+
attributeValue - The attribute value.public ListThingsRequest withAttributeValue(String attributeValue)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
Pattern: [a-zA-Z0-9_.,@/:#-]+
attributeValue - The attribute value.public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.