Struct aws_sdk_devicefarm::model::device_selection_result::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for DeviceSelectionResult.
Implementations§
source§impl Builder
impl Builder
sourcepub fn filters(self, input: DeviceFilter) -> Self
pub fn filters(self, input: DeviceFilter) -> Self
Appends an item to filters.
To override the contents of this collection use set_filters.
The filters in a device selection result.
sourcepub fn set_filters(self, input: Option<Vec<DeviceFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<DeviceFilter>>) -> Self
The filters in a device selection result.
sourcepub fn matched_devices_count(self, input: i32) -> Self
pub fn matched_devices_count(self, input: i32) -> Self
The number of devices that matched the device filter selection criteria.
sourcepub fn set_matched_devices_count(self, input: Option<i32>) -> Self
pub fn set_matched_devices_count(self, input: Option<i32>) -> Self
The number of devices that matched the device filter selection criteria.
sourcepub fn max_devices(self, input: i32) -> Self
pub fn max_devices(self, input: i32) -> Self
The maximum number of devices to be selected by a device filter and included in a test run.
sourcepub fn set_max_devices(self, input: Option<i32>) -> Self
pub fn set_max_devices(self, input: Option<i32>) -> Self
The maximum number of devices to be selected by a device filter and included in a test run.
sourcepub fn build(self) -> DeviceSelectionResult
pub fn build(self) -> DeviceSelectionResult
Consumes the builder and constructs a DeviceSelectionResult.