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
source§fn eq(&self, other: &SidewalkDeviceBuilder) -> bool
fn eq(&self, other: &SidewalkDeviceBuilder) -> bool
self and other values to be equal, and is used
by ==.