@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 identifier that Amazon Cognito returned with the previous request to this operation.
|
int |
hashCode() |
void |
setDevices(Collection<DeviceType> devices)
The devices returned in the list 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.
|
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 identifier that Amazon Cognito returned with the previous request to this operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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 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 ListDevicesResult 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 ListDevicesResult clone()