public class AdminListDevicesResult extends Object implements Serializable
Lists the device's response, as an administrator.
| Constructor and Description |
|---|
AdminListDevicesResult() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public List<DeviceType> getDevices()
The devices in the list of devices response.
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.
Returns a reference to this object so that method calls can be chained together.
devices - The devices in the list of devices response.
public AdminListDevicesResult withDevices(Collection<DeviceType> devices)
The devices in the list of devices response.
Returns a reference to this object so that method calls can be chained together.
devices - The devices in the list of devices response.
public String getPaginationToken()
The pagination token.
Constraints:
Length: 1 -
Pattern: [\S]+
The pagination token.
public void setPaginationToken(String paginationToken)
The pagination token.
Constraints:
Length: 1 -
Pattern: [\S]+
paginationToken - The pagination token.
public AdminListDevicesResult withPaginationToken(String paginationToken)
The pagination token.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
Pattern: [\S]+
paginationToken - The pagination token.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.