@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> |
getEvents()
An array of zero or more elements describing the event(s) associated with the device.
|
String |
getNextToken()
The token to retrieve the next set of results.
|
int |
hashCode() |
void |
setEvents(Collection<DeviceEvent> events)
An array of zero or more elements describing the event(s) associated with the device.
|
void |
setNextToken(String nextToken)
The token to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListDeviceEventsResult |
withEvents(Collection<DeviceEvent> events)
An array of zero or more elements describing the event(s) associated with the device.
|
ListDeviceEventsResult |
withEvents(DeviceEvent... events)
An array of zero or more elements describing the event(s) associated with the device.
|
ListDeviceEventsResult |
withNextToken(String nextToken)
The token to retrieve the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DeviceEvent> getEvents()
An array of zero or more elements describing the event(s) associated with the device.
public void setEvents(Collection<DeviceEvent> events)
An array of zero or more elements describing the event(s) associated with the device.
events
- An array of zero or more elements describing the event(s) associated with the device.public ListDeviceEventsResult withEvents(DeviceEvent... events)
An array of zero or more elements describing the event(s) associated with the device.
NOTE: This method appends the values to the existing list (if any). Use
setEvents(java.util.Collection)
or withEvents(java.util.Collection)
if you want to override the
existing values.
events
- An array of zero or more elements describing the event(s) associated with the device.public ListDeviceEventsResult withEvents(Collection<DeviceEvent> events)
An array of zero or more elements describing the event(s) associated with the device.
events
- An array of zero or more elements describing the event(s) associated with the device.public void setNextToken(String nextToken)
The token to retrieve the next set of results.
nextToken
- The token to retrieve the next set of results.public String getNextToken()
The token to retrieve the next set of results.
public ListDeviceEventsResult withNextToken(String nextToken)
The token to retrieve the next set of results.
nextToken
- The token to retrieve the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListDeviceEventsResult clone()