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