Class ListDeviceEventsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessRequest
-
- software.amazon.awssdk.services.alexaforbusiness.model.ListDeviceEventsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListDeviceEventsRequest.Builder,ListDeviceEventsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListDeviceEventsRequest extends AlexaForBusinessRequest implements ToCopyableBuilder<ListDeviceEventsRequest.Builder,ListDeviceEventsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListDeviceEventsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListDeviceEventsRequest.Builderbuilder()StringdeviceArn()The ARN of a device.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)DeviceEventTypeeventType()The event type to filter device events.StringeventTypeAsString()The event type to filter device events.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of results to include in the response.StringnextToken()An optional token returned from a prior request.List<SdkField<?>>sdkFields()static Class<? extends ListDeviceEventsRequest.Builder>serializableBuilderClass()ListDeviceEventsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
deviceArn
public final String deviceArn()
The ARN of a device.
- Returns:
- The ARN of a device.
-
eventType
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,
eventTypewill returnDeviceEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventTypeAsString().- Returns:
- 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.
- See Also:
DeviceEventType
-
eventTypeAsString
public 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,
eventTypewill returnDeviceEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventTypeAsString().- Returns:
- 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.
- See Also:
DeviceEventType
-
nextToken
public 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.
- Returns:
- 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.
-
maxResults
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.
- Returns:
- 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.
-
toBuilder
public ListDeviceEventsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListDeviceEventsRequest.Builder,ListDeviceEventsRequest>- Specified by:
toBuilderin classAlexaForBusinessRequest
-
builder
public static ListDeviceEventsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListDeviceEventsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-