@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 final String deviceArn()
The ARN of a device.
public final 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 final 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 final 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 final 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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.