public class ListDevicesResult extends Object implements Serializable
Represents the response to list devices.
Constructor and Description |
---|
ListDevicesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<DeviceType> |
getDevices()
The devices returned in the list devices response.
|
String |
getPaginationToken()
The pagination token for the list device response.
|
int |
hashCode() |
void |
setDevices(Collection<DeviceType> devices)
The devices returned in the list devices response.
|
void |
setPaginationToken(String paginationToken)
The pagination token for the list device response.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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 pagination token for the list device response.
|
public List<DeviceType> getDevices()
The devices returned in the list devices response.
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.
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(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 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(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(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2020. All rights reserved.