public static interface ListDeviceEventsResponse.Builder extends Iot1ClickDevicesResponse.Builder, SdkPojo, CopyableBuilder<ListDeviceEventsResponse.Builder,ListDeviceEventsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListDeviceEventsResponse.Builder |
events(Collection<DeviceEvent> events)
An array of zero or more elements describing the event(s) associated with the device.
|
ListDeviceEventsResponse.Builder |
events(Consumer<DeviceEvent.Builder>... events)
An array of zero or more elements describing the event(s) associated with the device.
|
ListDeviceEventsResponse.Builder |
events(DeviceEvent... events)
An array of zero or more elements describing the event(s) associated with the device.
|
ListDeviceEventsResponse.Builder |
nextToken(String nextToken)
The token to retrieve the next set of results.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListDeviceEventsResponse.Builder events(Collection<DeviceEvent> events)
An array of zero or more elements describing the event(s) associated with the device.
events - An array of zero or more elements describing the event(s) associated with the device.ListDeviceEventsResponse.Builder events(DeviceEvent... events)
An array of zero or more elements describing the event(s) associated with the device.
events - An array of zero or more elements describing the event(s) associated with the device.ListDeviceEventsResponse.Builder events(Consumer<DeviceEvent.Builder>... events)
An array of zero or more elements describing the event(s) associated with the device.
This is a convenience method that creates an instance of theDeviceEvent.Builder avoiding the need to
create one manually via DeviceEvent.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #events(List.
events - a consumer that will call methods on
DeviceEvent.Builder#events(java.util.Collection) ListDeviceEventsResponse.Builder nextToken(String nextToken)
The token to retrieve the next set of results.
nextToken - The token to retrieve the next set of results.Copyright © 2022. All rights reserved.