Interface ListDeviceEventsRequest.Builder
-
- All Superinterfaces:
AlexaForBusinessRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<ListDeviceEventsRequest.Builder,ListDeviceEventsRequest>,SdkBuilder<ListDeviceEventsRequest.Builder,ListDeviceEventsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListDeviceEventsRequest
public static interface ListDeviceEventsRequest.Builder extends AlexaForBusinessRequest.Builder, SdkPojo, CopyableBuilder<ListDeviceEventsRequest.Builder,ListDeviceEventsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDeviceEventsRequest.BuilderdeviceArn(String deviceArn)The ARN of a device.ListDeviceEventsRequest.BuildereventType(String eventType)The event type to filter device events.ListDeviceEventsRequest.BuildereventType(DeviceEventType eventType)The event type to filter device events.ListDeviceEventsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to include in the response.ListDeviceEventsRequest.BuildernextToken(String nextToken)An optional token returned from a prior request.ListDeviceEventsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListDeviceEventsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
deviceArn
ListDeviceEventsRequest.Builder deviceArn(String deviceArn)
The ARN of a device.
- Parameters:
deviceArn- The ARN of a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventType
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeviceEventType,DeviceEventType
-
eventType
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeviceEventType,DeviceEventType
-
nextToken
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListDeviceEventsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListDeviceEventsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-