@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<DeviceSummary> |
getDevices()
An array of
DeviceSummary objects for devices that match the specified filter values. |
String |
getNextToken()
A token used for pagination of results, or null if there are no additional results.
|
int |
hashCode() |
void |
setDevices(Collection<DeviceSummary> devices)
An array of
DeviceSummary objects for devices that match the specified filter values. |
void |
setNextToken(String nextToken)
A token used for pagination of results, or null if there are no additional results.
|
String |
toString()
Returns a string representation of this object.
|
SearchDevicesResult |
withDevices(Collection<DeviceSummary> devices)
An array of
DeviceSummary objects for devices that match the specified filter values. |
SearchDevicesResult |
withDevices(DeviceSummary... devices)
An array of
DeviceSummary objects for devices that match the specified filter values. |
SearchDevicesResult |
withNextToken(String nextToken)
A token used for pagination of results, or null if there are no additional results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<DeviceSummary> getDevices()
An array of DeviceSummary objects for devices that match the specified filter values.
DeviceSummary objects for devices that match the specified filter values.public void setDevices(Collection<DeviceSummary> devices)
An array of DeviceSummary objects for devices that match the specified filter values.
devices - An array of DeviceSummary objects for devices that match the specified filter values.public SearchDevicesResult withDevices(DeviceSummary... devices)
An array of DeviceSummary objects for devices that match the specified filter values.
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 - An array of DeviceSummary objects for devices that match the specified filter values.public SearchDevicesResult withDevices(Collection<DeviceSummary> devices)
An array of DeviceSummary objects for devices that match the specified filter values.
devices - An array of DeviceSummary objects for devices that match the specified filter values.public void setNextToken(String nextToken)
A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.
nextToken - A token used for pagination of results, or null if there are no additional results. Use the token value in
a subsequent request to continue results where the previous request ended.public String getNextToken()
A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.
public SearchDevicesResult withNextToken(String nextToken)
A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.
nextToken - A token used for pagination of results, or null if there are no additional results. Use the token value in
a subsequent request to continue results where the previous request ended.public String toString()
toString in class ObjectObject.toString()public SearchDevicesResult clone()