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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeviceSelectionResult.Builderfilters(Collection<DeviceFilter> filters)The filters in a device selection result.DeviceSelectionResult.Builderfilters(Consumer<DeviceFilter.Builder>... filters)The filters in a device selection result.DeviceSelectionResult.Builderfilters(DeviceFilter... filters)The filters in a device selection result.DeviceSelectionResult.BuildermatchedDevicesCount(Integer matchedDevicesCount)The number of devices that matched the device filter selection criteria.DeviceSelectionResult.BuildermaxDevices(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 Detail
-
filters
DeviceSelectionResult.Builder filters(Collection<DeviceFilter> 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
DeviceSelectionResult.Builder filters(DeviceFilter... 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
DeviceSelectionResult.Builder filters(Consumer<DeviceFilter.Builder>... 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 to#filters(List.) - 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:
#filters(java.util.Collection)
-
matchedDevicesCount
DeviceSelectionResult.Builder matchedDevicesCount(Integer 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
DeviceSelectionResult.Builder maxDevices(Integer 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.
-
-