@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDevicesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListDevicesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListDevicesResult |
clone() |
boolean |
equals(Object obj) |
List<DeviceSummary> |
getDevices()
A list of device structures that contain information about the device.
|
String |
getNextToken()
A pagination token to continue to the next page of devices.
|
int |
hashCode() |
void |
setDevices(Collection<DeviceSummary> devices)
A list of device structures that contain information about the device.
|
void |
setNextToken(String nextToken)
A pagination token to continue to the next page of devices.
|
String |
toString()
Returns a string representation of this object.
|
ListDevicesResult |
withDevices(Collection<DeviceSummary> devices)
A list of device structures that contain information about the device.
|
ListDevicesResult |
withDevices(DeviceSummary... devices)
A list of device structures that contain information about the device.
|
ListDevicesResult |
withNextToken(String nextToken)
A pagination token to continue to the next page of devices.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<DeviceSummary> getDevices()
A list of device structures that contain information about the device.
public void setDevices(Collection<DeviceSummary> devices)
A list of device structures that contain information about the device.
devices - A list of device structures that contain information about the device.public ListDevicesResult withDevices(DeviceSummary... devices)
A list of device structures that contain information about the device.
NOTE: This method appends the values to the existing list (if any). Use
setDevices(java.util.Collection) or withDevices(java.util.Collection) if you want to override
the existing values.
devices - A list of device structures that contain information about the device.public ListDevicesResult withDevices(Collection<DeviceSummary> devices)
A list of device structures that contain information about the device.
devices - A list of device structures that contain information about the device.public void setNextToken(String nextToken)
A pagination token to continue to the next page of devices.
nextToken - A pagination token to continue to the next page of devices.public String getNextToken()
A pagination token to continue to the next page of devices.
public ListDevicesResult withNextToken(String nextToken)
A pagination token to continue to the next page of devices.
nextToken - A pagination token to continue to the next page of devices.public String toString()
toString in class ObjectObject.toString()public ListDevicesResult clone()