Interface SearchDevicesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BraketResponse.Builder
,Buildable
,CopyableBuilder<SearchDevicesResponse.Builder,
,SearchDevicesResponse> SdkBuilder<SearchDevicesResponse.Builder,
,SearchDevicesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchDevicesResponse
public static interface SearchDevicesResponse.Builder
extends BraketResponse.Builder, SdkPojo, CopyableBuilder<SearchDevicesResponse.Builder,SearchDevicesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondevices
(Collection<DeviceSummary> devices) An array ofDeviceSummary
objects for devices that match the specified filter values.devices
(Consumer<DeviceSummary.Builder>... devices) An array ofDeviceSummary
objects for devices that match the specified filter values.devices
(DeviceSummary... devices) An array ofDeviceSummary
objects for devices that match the specified filter values.A token used for pagination of results, or null if there are no additional results.Methods inherited from interface software.amazon.awssdk.services.braket.model.BraketResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
devices
An array of
DeviceSummary
objects for devices that match the specified filter values.- Parameters:
devices
- An array ofDeviceSummary
objects for devices that match the specified filter values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
An array of
DeviceSummary
objects for devices that match the specified filter values.- Parameters:
devices
- An array ofDeviceSummary
objects for devices that match the specified filter values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
An array of
This is a convenience method that creates an instance of theDeviceSummary
objects for devices that match the specified filter values.DeviceSummary.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 token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.
- Parameters:
nextToken
- A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-