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 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 the DeviceFilter.Builder avoiding the need to create one manually via DeviceFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(List<DeviceFilter>).

      Parameters:
      filters - a consumer that will call methods on DeviceFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.