Class ListDevicePoolsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the result of a list device pools request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Information about the device pools.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
setDevicePools
(Collection<DevicePool> devicePools) Information about the device pools.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.withDevicePools
(DevicePool... devicePools) Information about the device pools.withDevicePools
(Collection<DevicePool> devicePools) Information about the device pools.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
-
ListDevicePoolsResult
public ListDevicePoolsResult()
-
-
Method Details
-
getDevicePools
Information about the device pools.
- Returns:
- Information about the device pools.
-
setDevicePools
Information about the device pools.
- Parameters:
devicePools
- Information about the device pools.
-
withDevicePools
Information about the device pools.
NOTE: This method appends the values to the existing list (if any). Use
setDevicePools(java.util.Collection)
orwithDevicePools(java.util.Collection)
if you want to override the existing values.- Parameters:
devicePools
- Information about the device pools.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDevicePools
Information about the device pools.
- Parameters:
devicePools
- Information about the device pools.- 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
-