Struct aws_sdk_sagemaker::types::builders::DeviceBuilder
source · #[non_exhaustive]pub struct DeviceBuilder { /* private fields */ }
Expand description
A builder for Device
.
Implementations§
source§impl DeviceBuilder
impl DeviceBuilder
sourcepub fn device_name(self, input: impl Into<String>) -> Self
pub fn device_name(self, input: impl Into<String>) -> Self
The name of the device.
This field is required.sourcepub fn set_device_name(self, input: Option<String>) -> Self
pub fn set_device_name(self, input: Option<String>) -> Self
The name of the device.
sourcepub fn get_device_name(&self) -> &Option<String>
pub fn get_device_name(&self) -> &Option<String>
The name of the device.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Description of the device.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Description of the device.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Description of the device.
sourcepub fn iot_thing_name(self, input: impl Into<String>) -> Self
pub fn iot_thing_name(self, input: impl Into<String>) -> Self
Amazon Web Services Internet of Things (IoT) object name.
sourcepub fn set_iot_thing_name(self, input: Option<String>) -> Self
pub fn set_iot_thing_name(self, input: Option<String>) -> Self
Amazon Web Services Internet of Things (IoT) object name.
sourcepub fn get_iot_thing_name(&self) -> &Option<String>
pub fn get_iot_thing_name(&self) -> &Option<String>
Amazon Web Services Internet of Things (IoT) object name.
Trait Implementations§
source§impl Clone for DeviceBuilder
impl Clone for DeviceBuilder
source§fn clone(&self) -> DeviceBuilder
fn clone(&self) -> DeviceBuilder
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 DeviceBuilder
impl Debug for DeviceBuilder
source§impl Default for DeviceBuilder
impl Default for DeviceBuilder
source§fn default() -> DeviceBuilder
fn default() -> DeviceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeviceBuilder
impl PartialEq for DeviceBuilder
source§fn eq(&self, other: &DeviceBuilder) -> bool
fn eq(&self, other: &DeviceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeviceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeviceBuilder
impl Send for DeviceBuilder
impl Sync for DeviceBuilder
impl Unpin for DeviceBuilder
impl UnwindSafe for DeviceBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.