Struct aws_sdk_sagemaker::model::device_selection_config::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for DeviceSelectionConfig.
Implementations
sourceimpl Builder
impl Builder
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
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more