@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchDevicesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchDevicesResult() |
Modifier and Type | Method and Description |
---|---|
SearchDevicesResult |
clone() |
boolean |
equals(Object obj) |
List<DeviceData> |
getDevices()
The devices that meet the specified set of filter criteria, in sort order.
|
String |
getNextToken()
The token returned to indicate that there is more data available.
|
Integer |
getTotalCount()
The total number of devices returned.
|
int |
hashCode() |
void |
setDevices(Collection<DeviceData> devices)
The devices that meet the specified set of filter criteria, in sort order.
|
void |
setNextToken(String nextToken)
The token returned to indicate that there is more data available.
|
void |
setTotalCount(Integer totalCount)
The total number of devices returned.
|
String |
toString()
Returns a string representation of this object.
|
SearchDevicesResult |
withDevices(Collection<DeviceData> devices)
The devices that meet the specified set of filter criteria, in sort order.
|
SearchDevicesResult |
withDevices(DeviceData... devices)
The devices that meet the specified set of filter criteria, in sort order.
|
SearchDevicesResult |
withNextToken(String nextToken)
The token returned to indicate that there is more data available.
|
SearchDevicesResult |
withTotalCount(Integer totalCount)
The total number of devices returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DeviceData> getDevices()
The devices that meet the specified set of filter criteria, in sort order.
public void setDevices(Collection<DeviceData> devices)
The devices that meet the specified set of filter criteria, in sort order.
devices
- The devices that meet the specified set of filter criteria, in sort order.public SearchDevicesResult withDevices(DeviceData... devices)
The devices that meet the specified set of filter criteria, in sort order.
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 that meet the specified set of filter criteria, in sort order.public SearchDevicesResult withDevices(Collection<DeviceData> devices)
The devices that meet the specified set of filter criteria, in sort order.
devices
- The devices that meet the specified set of filter criteria, in sort order.public void setNextToken(String nextToken)
The token returned to indicate that there is more data available.
nextToken
- The token returned to indicate that there is more data available.public String getNextToken()
The token returned to indicate that there is more data available.
public SearchDevicesResult withNextToken(String nextToken)
The token returned to indicate that there is more data available.
nextToken
- The token returned to indicate that there is more data available.public void setTotalCount(Integer totalCount)
The total number of devices returned.
totalCount
- The total number of devices returned.public Integer getTotalCount()
The total number of devices returned.
public SearchDevicesResult withTotalCount(Integer totalCount)
The total number of devices returned.
totalCount
- The total number of devices returned.public String toString()
toString
in class Object
Object.toString()
public SearchDevicesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.