Package com.amazonaws.services.iot.model
Class ListThingsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.iot.model.ListThingsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ListThingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the ListThings operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListThingsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListThingsRequest
clone()
Creates a shallow clone of this request.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.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setNextToken
public void setNextToken(String nextToken)
The token for the next value.
- Parameters:
nextToken
- The token for the next value.
-
getNextToken
public String getNextToken()
The token for the next value.
- Returns:
- The token for the next value.
-
withNextToken
public ListThingsRequest withNextToken(String nextToken)
The token for the next value.
- Parameters:
nextToken
- The token for the next value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
public void setMaxResults(Integer maxResults)
The maximum number of results.
- Parameters:
maxResults
- The maximum number of results.
-
getMaxResults
public Integer getMaxResults()
The maximum number of results.
- Returns:
- The maximum number of results.
-
withMaxResults
public ListThingsRequest withMaxResults(Integer maxResults)
The maximum number of results.
- Parameters:
maxResults
- The maximum number of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAttributeName
public void setAttributeName(String attributeName)
The attribute name.
- Parameters:
attributeName
- The attribute name.
-
getAttributeName
public String getAttributeName()
The attribute name.
- Returns:
- The attribute name.
-
withAttributeName
public ListThingsRequest withAttributeName(String attributeName)
The attribute name.
- Parameters:
attributeName
- The attribute name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAttributeValue
public void setAttributeValue(String attributeValue)
The attribute value.
- Parameters:
attributeValue
- The attribute value.
-
getAttributeValue
public String getAttributeValue()
The attribute value.
- Returns:
- The attribute value.
-
withAttributeValue
public ListThingsRequest withAttributeValue(String attributeValue)
The attribute value.
- Parameters:
attributeValue
- The attribute value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListThingsRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-