Interface ListDeviceEventsResponse.Builder
- All Superinterfaces:
AlexaForBusinessResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDeviceEventsResponse.Builder,
,ListDeviceEventsResponse> SdkBuilder<ListDeviceEventsResponse.Builder,
,ListDeviceEventsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDeviceEventsResponse
public static interface ListDeviceEventsResponse.Builder
extends AlexaForBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListDeviceEventsResponse.Builder,ListDeviceEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeviceEvents
(Collection<DeviceEvent> deviceEvents) The device events requested for the device ARN.deviceEvents
(Consumer<DeviceEvent.Builder>... deviceEvents) The device events requested for the device ARN.deviceEvents
(DeviceEvent... deviceEvents) The device events requested for the device ARN.The token returned to indicate that there is more data available.Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
deviceEvents
The device events requested for the device ARN.
- Parameters:
deviceEvents
- The device events requested for the device ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceEvents
The device events requested for the device ARN.
- Parameters:
deviceEvents
- The device events requested for the device ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceEvents
The device events requested for the device ARN.
This is a convenience method that creates an instance of theDeviceEvent.Builder
avoiding the need to create one manually viaDeviceEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceEvents(List<DeviceEvent>)
.- Parameters:
deviceEvents
- a consumer that will call methods onDeviceEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token returned to indicate that there is more data available.
- Parameters:
nextToken
- The token returned to indicate that there is more data available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-