@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDevicesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the response to list devices.
| Constructor and Description |
|---|
ListDevicesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListDevicesResult |
clone() |
boolean |
equals(Object obj) |
List<DeviceType> |
getDevices()
The devices returned in the list devices response.
|
String |
getPaginationToken()
The pagination token for the list device response.
|
int |
hashCode() |
void |
setDevices(Collection<DeviceType> devices)
The devices returned in the list devices response.
|
void |
setPaginationToken(String paginationToken)
The pagination token for the list device response.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListDevicesResult |
withDevices(Collection<DeviceType> devices)
The devices returned in the list devices response.
|
ListDevicesResult |
withDevices(DeviceType... devices)
The devices returned in the list devices response.
|
ListDevicesResult |
withPaginationToken(String paginationToken)
The pagination token for the list device response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<DeviceType> getDevices()
The devices returned in the list devices response.
public void setDevices(Collection<DeviceType> devices)
The devices returned in the list devices response.
devices - The devices returned in the list devices response.public ListDevicesResult withDevices(DeviceType... devices)
The devices returned in the list devices response.
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 - The devices returned in the list devices response.public ListDevicesResult withDevices(Collection<DeviceType> devices)
The devices returned in the list devices response.
devices - The devices returned in the list devices response.public void setPaginationToken(String paginationToken)
The pagination token for the list device response.
paginationToken - The pagination token for the list device response.public String getPaginationToken()
The pagination token for the list device response.
public ListDevicesResult withPaginationToken(String paginationToken)
The pagination token for the list device response.
paginationToken - The pagination token for the list device response.public String toString()
toString in class ObjectObject.toString()public ListDevicesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.