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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDeviceEventsResponse.BuilderdeviceEvents(Collection<DeviceEvent> deviceEvents)The device events requested for the device ARN.ListDeviceEventsResponse.BuilderdeviceEvents(Consumer<DeviceEvent.Builder>... deviceEvents)The device events requested for the device ARN.ListDeviceEventsResponse.BuilderdeviceEvents(DeviceEvent... deviceEvents)The device events requested for the device ARN.ListDeviceEventsResponse.BuildernextToken(String nextToken)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 Detail
-
deviceEvents
ListDeviceEventsResponse.Builder deviceEvents(Collection<DeviceEvent> 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
ListDeviceEventsResponse.Builder deviceEvents(DeviceEvent... 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
ListDeviceEventsResponse.Builder deviceEvents(Consumer<DeviceEvent.Builder>... deviceEvents)
The device events requested for the device ARN.
This is a convenience method that creates an instance of theDeviceEvent.Builderavoiding the need to create one manually viaDeviceEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#deviceEvents(List.) - 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:
#deviceEvents(java.util.Collection)
-
nextToken
ListDeviceEventsResponse.Builder nextToken(String 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.
-
-