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, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListDevicesResponse.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 method that creates an instance of theDeviceDescription.Builder avoiding the need to
create one manually via
DeviceDescription.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #devices(List.
devices - a consumer that will call methods on
DeviceDescription.Builder#devices(java.util.Collection) 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 © 2022. All rights reserved.