@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 identifier that Amazon Cognito returned with the previous request to this operation.
|
int |
hashCode() |
void |
setDevices(Collection<DeviceType> devices)
The devices in the list of devices response.
|
void |
setPaginationToken(String paginationToken)
The identifier that Amazon Cognito returned with the previous request to this operation.
|
String |
toString()
Returns a string representation of this object.
|
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 identifier that Amazon Cognito returned with the previous request to this operation.
|
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 identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.
paginationToken
- The identifier that Amazon Cognito returned with the previous request to this operation. When you include
a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of
this token, you can paginate through the full list of items.public String getPaginationToken()
The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.
public AdminListDevicesResult withPaginationToken(String paginationToken)
The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.
paginationToken
- The identifier that Amazon Cognito returned with the previous request to this operation. When you include
a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of
this token, you can paginate through the full list of items.public String toString()
toString
in class Object
Object.toString()
public AdminListDevicesResult clone()