Interface ListDevicesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDevicesResponse.Builder,
,ListDevicesResponse> Iot1ClickDevicesResponse.Builder
,SdkBuilder<ListDevicesResponse.Builder,
,ListDevicesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDevicesResponse
public static interface ListDevicesResponse.Builder
extends Iot1ClickDevicesResponse.Builder, SdkPojo, CopyableBuilder<ListDevicesResponse.Builder,ListDevicesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondevices
(Collection<DeviceDescription> devices) A list of devices.devices
(Consumer<DeviceDescription.Builder>... devices) A list of devices.devices
(DeviceDescription... devices) A list of devices.The token to retrieve the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot1clickdevices.model.Iot1ClickDevicesResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
devices
A list of devices.
- Parameters:
devices
- A list of devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
A list of devices.
- Parameters:
devices
- A list of devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
A list of devices.
This is a convenience method that creates an instance of theDeviceDescription.Builder
avoiding the need to create one manually viaDeviceDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todevices(List<DeviceDescription>)
.- Parameters:
devices
- a consumer that will call methods onDeviceDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to retrieve the next set of results.
- Parameters:
nextToken
- The token to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-