@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDevicesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListDevicesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListDevicesResult |
clone() |
boolean |
equals(Object obj) |
List<DeviceSummary> |
getDevices()
Describes devices.
|
String |
getNextToken()
If
nextToken is returned, there are more results available. |
int |
hashCode() |
void |
setDevices(Collection<DeviceSummary> devices)
Describes devices.
|
void |
setNextToken(String nextToken)
If
nextToken is returned, there are more results available. |
String |
toString()
Returns a string representation of this object.
|
ListDevicesResult |
withDevices(Collection<DeviceSummary> devices)
Describes devices.
|
ListDevicesResult |
withDevices(DeviceSummary... devices)
Describes devices.
|
ListDevicesResult |
withNextToken(String nextToken)
If
nextToken is returned, there are more results available. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<DeviceSummary> getDevices()
Describes devices.
public void setDevices(Collection<DeviceSummary> devices)
Describes devices.
devices - Describes devices.public ListDevicesResult withDevices(DeviceSummary... devices)
Describes devices.
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 - Describes devices.public ListDevicesResult withDevices(Collection<DeviceSummary> devices)
Describes devices.
devices - Describes devices.public void setNextToken(String nextToken)
If nextToken is returned, there are more results available. The value of nextToken is a
unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination
token will return an HTTP 400 InvalidToken error.
nextToken - If nextToken is returned, there are more results available. The value of
nextToken is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after
24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.public String getNextToken()
If nextToken is returned, there are more results available. The value of nextToken is a
unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination
token will return an HTTP 400 InvalidToken error.
nextToken is returned, there are more results available. The value of
nextToken is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after
24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.public ListDevicesResult withNextToken(String nextToken)
If nextToken is returned, there are more results available. The value of nextToken is a
unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination
token will return an HTTP 400 InvalidToken error.
nextToken - If nextToken is returned, there are more results available. The value of
nextToken is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after
24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.public String toString()
toString in class ObjectObject.toString()public ListDevicesResult clone()