Interface DeviceSelectionResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeviceSelectionResult.Builder,,DeviceSelectionResult> SdkBuilder<DeviceSelectionResult.Builder,,DeviceSelectionResult> SdkPojo
- Enclosing class:
DeviceSelectionResult
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaDeviceFilter.builder().When the
Consumercompletes,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.
-