@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListNamedShadowsForThingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListNamedShadowsForThingResult() |
Modifier and Type | Method and Description |
---|---|
ListNamedShadowsForThingResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next set of results, or null if there are no additional results.
|
List<String> |
getResults()
The list of shadows for the specified thing.
|
Long |
getTimestamp()
The Epoch date and time the response was generated by AWS IoT.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
void |
setResults(Collection<String> results)
The list of shadows for the specified thing.
|
void |
setTimestamp(Long timestamp)
The Epoch date and time the response was generated by AWS IoT.
|
String |
toString()
Returns a string representation of this object.
|
ListNamedShadowsForThingResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
ListNamedShadowsForThingResult |
withResults(Collection<String> results)
The list of shadows for the specified thing.
|
ListNamedShadowsForThingResult |
withResults(String... results)
The list of shadows for the specified thing.
|
ListNamedShadowsForThingResult |
withTimestamp(Long timestamp)
The Epoch date and time the response was generated by AWS IoT.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getResults()
The list of shadows for the specified thing.
public void setResults(Collection<String> results)
The list of shadows for the specified thing.
results
- The list of shadows for the specified thing.public ListNamedShadowsForThingResult withResults(String... results)
The list of shadows for the specified thing.
NOTE: This method appends the values to the existing list (if any). Use
setResults(java.util.Collection)
or withResults(java.util.Collection)
if you want to override
the existing values.
results
- The list of shadows for the specified thing.public ListNamedShadowsForThingResult withResults(Collection<String> results)
The list of shadows for the specified thing.
results
- The list of shadows for the specified thing.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 String getNextToken()
The token for the next set of results, or null if there are no additional results.
public ListNamedShadowsForThingResult withNextToken(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 void setTimestamp(Long timestamp)
The Epoch date and time the response was generated by AWS IoT.
timestamp
- The Epoch date and time the response was generated by AWS IoT.public Long getTimestamp()
The Epoch date and time the response was generated by AWS IoT.
public ListNamedShadowsForThingResult withTimestamp(Long timestamp)
The Epoch date and time the response was generated by AWS IoT.
timestamp
- The Epoch date and time the response was generated by AWS IoT.public String toString()
toString
in class Object
Object.toString()
public ListNamedShadowsForThingResult clone()