@Generated(value="software.amazon.awssdk:codegen") public final class ListDeviceEventsRequest extends AlexaForBusinessRequest implements ToCopyableBuilder<ListDeviceEventsRequest.Builder,ListDeviceEventsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListDeviceEventsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListDeviceEventsRequest.Builder |
builder() |
String |
deviceArn()
The ARN of a device.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
DeviceEventType |
eventType()
The event type to filter device events.
|
String |
eventTypeAsString()
The event type to filter device events.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
The maximum number of results to include in the response.
|
String |
nextToken()
An optional token returned from a prior request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListDeviceEventsRequest.Builder> |
serializableBuilderClass() |
ListDeviceEventsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String deviceArn()
The ARN of a device.
public DeviceEventType eventType()
The event type to filter device events. If EventType isn't specified, this returns a list of all device events in reverse chronological order. If EventType is specified, this returns a list of device events for that EventType in reverse chronological order.
If the service returns an enum value that is not available in the current SDK version, eventType will
return DeviceEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
eventTypeAsString().
DeviceEventTypepublic String eventTypeAsString()
The event type to filter device events. If EventType isn't specified, this returns a list of all device events in reverse chronological order. If EventType is specified, this returns a list of device events for that EventType in reverse chronological order.
If the service returns an enum value that is not available in the current SDK version, eventType will
return DeviceEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
eventTypeAsString().
DeviceEventTypepublic String nextToken()
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults. When the end of results is reached, the response has a value of null.
public Integer maxResults()
The maximum number of results to include in the response. The default value is 50. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
public ListDeviceEventsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListDeviceEventsRequest.Builder,ListDeviceEventsRequest>toBuilder in class AlexaForBusinessRequestpublic static ListDeviceEventsRequest.Builder builder()
public static Class<? extends ListDeviceEventsRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.