public class ListDevicesResult
extends java.lang.Object
implements java.io.Serializable
Represents the response to list devices.
| Constructor and Description |
|---|
ListDevicesResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<DeviceType> |
getDevices()
The devices returned in the list devices response.
|
java.lang.String |
getPaginationToken()
The pagination token for the list device response.
|
int |
hashCode() |
void |
setDevices(java.util.Collection<DeviceType> devices)
The devices returned in the list devices response.
|
void |
setPaginationToken(java.lang.String paginationToken)
The pagination token for the list device response.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListDevicesResult |
withDevices(java.util.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(java.lang.String paginationToken)
The pagination token for the list device response.
|
public java.util.List<DeviceType> getDevices()
The devices returned in the list devices response.
The devices returned in the list devices response.
public void setDevices(java.util.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.
Returns a reference to this object so that method calls can be chained together.
devices - The devices returned in the list devices response.
public ListDevicesResult withDevices(java.util.Collection<DeviceType> devices)
The devices returned in the list devices response.
Returns a reference to this object so that method calls can be chained together.
devices - The devices returned in the list devices response.
public java.lang.String getPaginationToken()
The pagination token for the list device response.
Constraints:
Length: 1 -
Pattern: [\S]+
The pagination token for the list device response.
public void setPaginationToken(java.lang.String paginationToken)
The pagination token for the list device response.
Constraints:
Length: 1 -
Pattern: [\S]+
paginationToken - The pagination token for the list device response.
public ListDevicesResult withPaginationToken(java.lang.String paginationToken)
The pagination token for the list device response.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
Pattern: [\S]+
paginationToken - The pagination token for the list device response.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object