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, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListDeviceEventsResponse.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 that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #events(List)
.events
- a consumer that will call methods on List.Builder
#events(List)
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 © 2017 Amazon Web Services, Inc. All Rights Reserved.