public class ListDevicePoolsResult extends Object implements Serializable, Cloneable
Represents the result of a list device pools request.
Constructor and Description |
---|
ListDevicePoolsResult() |
Modifier and Type | Method and Description |
---|---|
ListDevicePoolsResult |
clone() |
boolean |
equals(Object obj) |
List<DevicePool> |
getDevicePools()
Information about the device pools.
|
String |
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.
|
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListDevicePoolsResult |
withDevicePools(Collection<DevicePool> devicePools)
Information about the device pools.
|
ListDevicePoolsResult |
withDevicePools(DevicePool... devicePools)
Information about the device pools.
|
ListDevicePoolsResult |
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.
|
public List<DevicePool> getDevicePools()
Information about the device pools.
public void setDevicePools(Collection<DevicePool> devicePools)
Information about the device pools.
devicePools
- Information about the device pools.public ListDevicePoolsResult withDevicePools(DevicePool... devicePools)
Information about the device pools.
NOTE: This method appends the values to the existing list (if
any). Use setDevicePools(java.util.Collection)
or
withDevicePools(java.util.Collection)
if you want to override
the existing values.
devicePools
- Information about the device pools.public ListDevicePoolsResult withDevicePools(Collection<DevicePool> devicePools)
Information about the device pools.
devicePools
- Information about the device pools.public 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.
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.public String 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.
public ListDevicePoolsResult 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.
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.public String toString()
toString
in class Object
Object.toString()
public ListDevicePoolsResult clone()
Copyright © 2015. All rights reserved.