@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDeviceEventsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDeviceEventsResult() |
Modifier and Type | Method and Description |
---|---|
ListDeviceEventsResult |
clone() |
boolean |
equals(Object obj) |
List<DeviceEvent> |
getDeviceEvents()
The device events requested for the device ARN.
|
String |
getNextToken()
The token returned to indicate that there is more data available.
|
int |
hashCode() |
void |
setDeviceEvents(Collection<DeviceEvent> deviceEvents)
The device events requested for the device ARN.
|
void |
setNextToken(String nextToken)
The token returned to indicate that there is more data available.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListDeviceEventsResult |
withDeviceEvents(Collection<DeviceEvent> deviceEvents)
The device events requested for the device ARN.
|
ListDeviceEventsResult |
withDeviceEvents(DeviceEvent... deviceEvents)
The device events requested for the device ARN.
|
ListDeviceEventsResult |
withNextToken(String nextToken)
The token returned to indicate that there is more data available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DeviceEvent> getDeviceEvents()
The device events requested for the device ARN.
public void setDeviceEvents(Collection<DeviceEvent> deviceEvents)
The device events requested for the device ARN.
deviceEvents
- The device events requested for the device ARN.public ListDeviceEventsResult withDeviceEvents(DeviceEvent... deviceEvents)
The device events requested for the device ARN.
NOTE: This method appends the values to the existing list (if any). Use
setDeviceEvents(java.util.Collection)
or withDeviceEvents(java.util.Collection)
if you want to
override the existing values.
deviceEvents
- The device events requested for the device ARN.public ListDeviceEventsResult withDeviceEvents(Collection<DeviceEvent> deviceEvents)
The device events requested for the device ARN.
deviceEvents
- The device events requested for the device ARN.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 ListDeviceEventsResult 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 String toString()
toString
in class Object
Object.toString()
public ListDeviceEventsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.