public class ListThingsRequest extends AmazonWebServiceRequest implements Serializable
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.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getNextToken()
The token for the next value.
The token for the next value.
public void setNextToken(String nextToken)
The token for the next value.
nextToken - The token for the next value.
public ListThingsRequest withNextToken(String nextToken)
The token for the next value.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token for the next value.
public Integer getMaxResults()
The maximum number of results.
Constraints:
Range: 1 - 10000
The maximum number of results.
public void setMaxResults(Integer maxResults)
The maximum number of results.
Constraints:
Range: 1 - 10000
maxResults - The maximum number of results.
public ListThingsRequest withMaxResults(Integer maxResults)
The maximum number of results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 10000
maxResults - The maximum number of results.
public String getAttributeName()
The attribute name.
Constraints:
Length: - 128
Pattern: [a-zA-Z0-9_.,@/:#-]+
The attribute name.
public void setAttributeName(String attributeName)
The attribute name.
Constraints:
Length: - 128
Pattern: [a-zA-Z0-9_.,@/:#-]+
attributeName - The attribute name.
public ListThingsRequest withAttributeName(String attributeName)
The attribute name.
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.
public String getAttributeValue()
The attribute value.
Constraints:
Length: - 1024
Pattern: [a-zA-Z0-9_.,@/:#-]+
The attribute value.
public void setAttributeValue(String attributeValue)
The attribute value.
Constraints:
Length: - 1024
Pattern: [a-zA-Z0-9_.,@/:#-]+
attributeValue - The attribute value.
public ListThingsRequest withAttributeValue(String attributeValue)
The attribute value.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 1024
Pattern: [a-zA-Z0-9_.,@/:#-]+
attributeValue - The attribute value.
public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.