Struct aws_sdk_iotwireless::types::builders::SidewalkDeviceBuilder
source · #[non_exhaustive]pub struct SidewalkDeviceBuilder { /* private fields */ }Expand description
A builder for SidewalkDevice.
Implementations§
source§impl SidewalkDeviceBuilder
impl SidewalkDeviceBuilder
sourcepub fn set_amazon_id(self, input: Option<String>) -> Self
pub fn set_amazon_id(self, input: Option<String>) -> Self
The Sidewalk Amazon ID.
sourcepub fn get_amazon_id(&self) -> &Option<String>
pub fn get_amazon_id(&self) -> &Option<String>
The Sidewalk Amazon ID.
sourcepub fn sidewalk_id(self, input: impl Into<String>) -> Self
pub fn sidewalk_id(self, input: impl Into<String>) -> Self
The sidewalk device identification.
sourcepub fn set_sidewalk_id(self, input: Option<String>) -> Self
pub fn set_sidewalk_id(self, input: Option<String>) -> Self
The sidewalk device identification.
sourcepub fn get_sidewalk_id(&self) -> &Option<String>
pub fn get_sidewalk_id(&self) -> &Option<String>
The sidewalk device identification.
sourcepub fn sidewalk_manufacturing_sn(self, input: impl Into<String>) -> Self
pub fn sidewalk_manufacturing_sn(self, input: impl Into<String>) -> Self
The Sidewalk manufacturing series number.
sourcepub fn set_sidewalk_manufacturing_sn(self, input: Option<String>) -> Self
pub fn set_sidewalk_manufacturing_sn(self, input: Option<String>) -> Self
The Sidewalk manufacturing series number.
sourcepub fn get_sidewalk_manufacturing_sn(&self) -> &Option<String>
pub fn get_sidewalk_manufacturing_sn(&self) -> &Option<String>
The Sidewalk manufacturing series number.
sourcepub fn device_certificates(self, input: CertificateList) -> Self
pub fn device_certificates(self, input: CertificateList) -> Self
Appends an item to device_certificates.
To override the contents of this collection use set_device_certificates.
The sidewalk device certificates for Ed25519 and P256r1.
sourcepub fn set_device_certificates(
self,
input: Option<Vec<CertificateList>>,
) -> Self
pub fn set_device_certificates( self, input: Option<Vec<CertificateList>>, ) -> Self
The sidewalk device certificates for Ed25519 and P256r1.
sourcepub fn get_device_certificates(&self) -> &Option<Vec<CertificateList>>
pub fn get_device_certificates(&self) -> &Option<Vec<CertificateList>>
The sidewalk device certificates for Ed25519 and P256r1.
sourcepub fn private_keys(self, input: CertificateList) -> Self
pub fn private_keys(self, input: CertificateList) -> Self
Appends an item to private_keys.
To override the contents of this collection use set_private_keys.
The Sidewalk device private keys that will be used for onboarding the device.
sourcepub fn set_private_keys(self, input: Option<Vec<CertificateList>>) -> Self
pub fn set_private_keys(self, input: Option<Vec<CertificateList>>) -> Self
The Sidewalk device private keys that will be used for onboarding the device.
sourcepub fn get_private_keys(&self) -> &Option<Vec<CertificateList>>
pub fn get_private_keys(&self) -> &Option<Vec<CertificateList>>
The Sidewalk device private keys that will be used for onboarding the device.
sourcepub fn device_profile_id(self, input: impl Into<String>) -> Self
pub fn device_profile_id(self, input: impl Into<String>) -> Self
The ID of the Sidewalk device profile.
sourcepub fn set_device_profile_id(self, input: Option<String>) -> Self
pub fn set_device_profile_id(self, input: Option<String>) -> Self
The ID of the Sidewalk device profile.
sourcepub fn get_device_profile_id(&self) -> &Option<String>
pub fn get_device_profile_id(&self) -> &Option<String>
The ID of the Sidewalk device profile.
sourcepub fn certificate_id(self, input: impl Into<String>) -> Self
pub fn certificate_id(self, input: impl Into<String>) -> Self
The ID of the Sidewalk device profile.
sourcepub fn set_certificate_id(self, input: Option<String>) -> Self
pub fn set_certificate_id(self, input: Option<String>) -> Self
The ID of the Sidewalk device profile.
sourcepub fn get_certificate_id(&self) -> &Option<String>
pub fn get_certificate_id(&self) -> &Option<String>
The ID of the Sidewalk device profile.
sourcepub fn status(self, input: WirelessDeviceSidewalkStatus) -> Self
pub fn status(self, input: WirelessDeviceSidewalkStatus) -> Self
The Sidewalk device status, such as provisioned or registered.
sourcepub fn set_status(self, input: Option<WirelessDeviceSidewalkStatus>) -> Self
pub fn set_status(self, input: Option<WirelessDeviceSidewalkStatus>) -> Self
The Sidewalk device status, such as provisioned or registered.
sourcepub fn get_status(&self) -> &Option<WirelessDeviceSidewalkStatus>
pub fn get_status(&self) -> &Option<WirelessDeviceSidewalkStatus>
The Sidewalk device status, such as provisioned or registered.
sourcepub fn build(self) -> SidewalkDevice
pub fn build(self) -> SidewalkDevice
Consumes the builder and constructs a SidewalkDevice.
Trait Implementations§
source§impl Clone for SidewalkDeviceBuilder
impl Clone for SidewalkDeviceBuilder
source§fn clone(&self) -> SidewalkDeviceBuilder
fn clone(&self) -> SidewalkDeviceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SidewalkDeviceBuilder
impl Debug for SidewalkDeviceBuilder
source§impl Default for SidewalkDeviceBuilder
impl Default for SidewalkDeviceBuilder
source§fn default() -> SidewalkDeviceBuilder
fn default() -> SidewalkDeviceBuilder
source§impl PartialEq for SidewalkDeviceBuilder
impl PartialEq for SidewalkDeviceBuilder
impl StructuralPartialEq for SidewalkDeviceBuilder
Auto Trait Implementations§
impl Freeze for SidewalkDeviceBuilder
impl RefUnwindSafe for SidewalkDeviceBuilder
impl Send for SidewalkDeviceBuilder
impl Sync for SidewalkDeviceBuilder
impl Unpin for SidewalkDeviceBuilder
impl UnwindSafe for SidewalkDeviceBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more