Class ListDevicesResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the result of a list devices operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Information about the devices.If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.int
hashCode()
void
setDevices
(Collection<Device> devices) Information about the devices.void
setNextToken
(String nextToken) If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.toString()
Returns a string representation of this object; useful for testing and debugging.withDevices
(Device... devices) Information about the devices.withDevices
(Collection<Device> devices) Information about the devices.withNextToken
(String nextToken) If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
-
Constructor Details
-
ListDevicesResult
public ListDevicesResult()
-
-
Method Details
-
getDevices
Information about the devices.
- Returns:
- Information about the devices.
-
setDevices
Information about the devices.
- Parameters:
devices
- Information about the devices.
-
withDevices
Information about the devices.
NOTE: This method appends the values to the existing list (if any). Use
setDevices(java.util.Collection)
orwithDevices(java.util.Collection)
if you want to override the existing values.- Parameters:
devices
- Information about the devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDevices
Information about the devices.
- Parameters:
devices
- Information about the devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
- Parameters:
nextToken
- If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
-
getNextToken
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
- Returns:
- If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
-
withNextToken
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
- Parameters:
nextToken
- If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-