#[non_exhaustive]pub struct DeviceSelectionConfigBuilder { /* private fields */ }
Expand description
A builder for DeviceSelectionConfig
.
Implementations§
source§impl DeviceSelectionConfigBuilder
impl DeviceSelectionConfigBuilder
sourcepub fn device_subset_type(self, input: DeviceSubsetType) -> Self
pub fn device_subset_type(self, input: DeviceSubsetType) -> Self
Type of device subsets to deploy to the current stage.
sourcepub fn set_device_subset_type(self, input: Option<DeviceSubsetType>) -> Self
pub fn set_device_subset_type(self, input: Option<DeviceSubsetType>) -> Self
Type of device subsets to deploy to the current stage.
sourcepub fn percentage(self, input: i32) -> Self
pub fn percentage(self, input: i32) -> Self
Percentage of devices in the fleet to deploy to the current stage.
sourcepub fn set_percentage(self, input: Option<i32>) -> Self
pub fn set_percentage(self, input: Option<i32>) -> Self
Percentage of devices in the fleet to deploy to the current stage.
sourcepub fn device_names(self, input: impl Into<String>) -> Self
pub fn device_names(self, input: impl Into<String>) -> Self
Appends an item to device_names
.
To override the contents of this collection use set_device_names
.
List of devices chosen to deploy.
sourcepub fn set_device_names(self, input: Option<Vec<String>>) -> Self
pub fn set_device_names(self, input: Option<Vec<String>>) -> Self
List of devices chosen to deploy.
sourcepub fn device_name_contains(self, input: impl Into<String>) -> Self
pub fn device_name_contains(self, input: impl Into<String>) -> Self
A filter to select devices with names containing this name.
sourcepub fn set_device_name_contains(self, input: Option<String>) -> Self
pub fn set_device_name_contains(self, input: Option<String>) -> Self
A filter to select devices with names containing this name.
sourcepub fn build(self) -> DeviceSelectionConfig
pub fn build(self) -> DeviceSelectionConfig
Consumes the builder and constructs a DeviceSelectionConfig
.
Trait Implementations§
source§impl Clone for DeviceSelectionConfigBuilder
impl Clone for DeviceSelectionConfigBuilder
source§fn clone(&self) -> DeviceSelectionConfigBuilder
fn clone(&self) -> DeviceSelectionConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DeviceSelectionConfigBuilder
impl Debug for DeviceSelectionConfigBuilder
source§impl Default for DeviceSelectionConfigBuilder
impl Default for DeviceSelectionConfigBuilder
source§fn default() -> DeviceSelectionConfigBuilder
fn default() -> DeviceSelectionConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DeviceSelectionConfigBuilder> for DeviceSelectionConfigBuilder
impl PartialEq<DeviceSelectionConfigBuilder> for DeviceSelectionConfigBuilder
source§fn eq(&self, other: &DeviceSelectionConfigBuilder) -> bool
fn eq(&self, other: &DeviceSelectionConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeviceSelectionConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeviceSelectionConfigBuilder
impl Send for DeviceSelectionConfigBuilder
impl Sync for DeviceSelectionConfigBuilder
impl Unpin for DeviceSelectionConfigBuilder
impl UnwindSafe for DeviceSelectionConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more