public static interface ListDeviceEventsRequest.Builder extends AlexaForBusinessRequest.Builder, SdkPojo, CopyableBuilder<ListDeviceEventsRequest.Builder,ListDeviceEventsRequest>
Modifier and Type | Method and Description |
---|---|
ListDeviceEventsRequest.Builder |
deviceArn(String deviceArn)
The ARN of a device.
|
ListDeviceEventsRequest.Builder |
eventType(DeviceEventType eventType)
The event type to filter device events.
|
ListDeviceEventsRequest.Builder |
eventType(String eventType)
The event type to filter device events.
|
ListDeviceEventsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of results to include in the response.
|
ListDeviceEventsRequest.Builder |
nextToken(String nextToken)
An optional token returned from a prior request.
|
ListDeviceEventsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ListDeviceEventsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
ListDeviceEventsRequest.Builder deviceArn(String deviceArn)
The ARN of a device.
deviceArn
- The ARN of a device.ListDeviceEventsRequest.Builder eventType(String 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.
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.DeviceEventType
,
DeviceEventType
ListDeviceEventsRequest.Builder eventType(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.
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.DeviceEventType
,
DeviceEventType
ListDeviceEventsRequest.Builder nextToken(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.
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.ListDeviceEventsRequest.Builder maxResults(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.
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.ListDeviceEventsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ListDeviceEventsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.