Interface DeviceSelectionResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeviceSelectionResult.Builder,
,DeviceSelectionResult> SdkBuilder<DeviceSelectionResult.Builder,
,DeviceSelectionResult> SdkPojo
- Enclosing class:
DeviceSelectionResult
public static interface DeviceSelectionResult.Builder
extends SdkPojo, CopyableBuilder<DeviceSelectionResult.Builder,DeviceSelectionResult>
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<DeviceFilter> filters) The filters in a device selection result.filters
(Consumer<DeviceFilter.Builder>... filters) The filters in a device selection result.filters
(DeviceFilter... filters) The filters in a device selection result.matchedDevicesCount
(Integer matchedDevicesCount) The number of devices that matched the device filter selection criteria.maxDevices
(Integer maxDevices) The maximum number of devices to be selected by a device filter and included in a test run.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
-
Method Details
-
filters
The filters in a device selection result.
- Parameters:
filters
- The filters in a device selection result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters in a device selection result.
- Parameters:
filters
- The filters in a device selection result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters in a device selection result.
This is a convenience method that creates an instance of theDeviceFilter.Builder
avoiding the need to create one manually viaDeviceFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<DeviceFilter>)
.- Parameters:
filters
- a consumer that will call methods onDeviceFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
matchedDevicesCount
The number of devices that matched the device filter selection criteria.
- Parameters:
matchedDevicesCount
- The number of devices that matched the device filter selection criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxDevices
The maximum number of devices to be selected by a device filter and included in a test run.
- Parameters:
maxDevices
- The maximum number of devices to be selected by a device filter and included in a test run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-