public static interface ListDevicesResponse.Builder extends Iot1ClickDevicesResponse.Builder, SdkPojo, CopyableBuilder<ListDevicesResponse.Builder,ListDevicesResponse>
Modifier and Type | Method and Description |
---|---|
ListDevicesResponse.Builder |
devices(Collection<DeviceDescription> devices)
A list of devices.
|
ListDevicesResponse.Builder |
devices(Consumer<DeviceDescription.Builder>... devices)
A list of devices.
|
ListDevicesResponse.Builder |
devices(DeviceDescription... devices)
A list of devices.
|
ListDevicesResponse.Builder |
nextToken(String nextToken)
The token to retrieve the next set of results.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListDevicesResponse.Builder devices(Collection<DeviceDescription> devices)
A list of devices.
devices
- A list of devices.ListDevicesResponse.Builder devices(DeviceDescription... devices)
A list of devices.
devices
- A list of devices.ListDevicesResponse.Builder devices(Consumer<DeviceDescription.Builder>... devices)
A list of devices.
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 #devices(List)
.devices
- a consumer that will call methods on List.Builder
#devices(List)
ListDevicesResponse.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.