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