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 ofDeviceSummaryobjects for devices that match the specified filter values.devices(Consumer<DeviceSummary.Builder>... devices) An array ofDeviceSummaryobjects for devices that match the specified filter values.devices(DeviceSummary... devices) An array ofDeviceSummaryobjects 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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
devices
An array of
DeviceSummaryobjects for devices that match the specified filter values.- Parameters:
devices- An array ofDeviceSummaryobjects 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
DeviceSummaryobjects for devices that match the specified filter values.- Parameters:
devices- An array ofDeviceSummaryobjects 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 theDeviceSummaryobjects for devices that match the specified filter values.DeviceSummary.Builderavoiding the need to create one manually viaDeviceSummary.builder().When the
Consumercompletes,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.
-