Struct aws_sdk_iotwireless::types::DakCertificateMetadata
source · #[non_exhaustive]pub struct DakCertificateMetadata {
pub certificate_id: String,
pub max_allowed_signature: Option<i32>,
pub factory_support: Option<bool>,
pub ap_id: Option<String>,
pub device_type_id: Option<String>,
}Expand description
The device attestation key (DAK) information.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.certificate_id: StringThe certificate ID for the DAK.
max_allowed_signature: Option<i32>The maximum number of signatures that the DAK can sign. A value of -1 indicates that there's no device limit.
factory_support: Option<bool>Whether factory support has been enabled.
ap_id: Option<String>The advertised product ID (APID) that's used for pre-production and production applications.
device_type_id: Option<String>The device type ID that's used for prototyping applications.
Implementations§
source§impl DakCertificateMetadata
impl DakCertificateMetadata
sourcepub fn certificate_id(&self) -> &str
pub fn certificate_id(&self) -> &str
The certificate ID for the DAK.
sourcepub fn max_allowed_signature(&self) -> Option<i32>
pub fn max_allowed_signature(&self) -> Option<i32>
The maximum number of signatures that the DAK can sign. A value of -1 indicates that there's no device limit.
sourcepub fn factory_support(&self) -> Option<bool>
pub fn factory_support(&self) -> Option<bool>
Whether factory support has been enabled.
sourcepub fn ap_id(&self) -> Option<&str>
pub fn ap_id(&self) -> Option<&str>
The advertised product ID (APID) that's used for pre-production and production applications.
sourcepub fn device_type_id(&self) -> Option<&str>
pub fn device_type_id(&self) -> Option<&str>
The device type ID that's used for prototyping applications.
source§impl DakCertificateMetadata
impl DakCertificateMetadata
sourcepub fn builder() -> DakCertificateMetadataBuilder
pub fn builder() -> DakCertificateMetadataBuilder
Creates a new builder-style object to manufacture DakCertificateMetadata.
Trait Implementations§
source§impl Clone for DakCertificateMetadata
impl Clone for DakCertificateMetadata
source§fn clone(&self) -> DakCertificateMetadata
fn clone(&self) -> DakCertificateMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DakCertificateMetadata
impl Debug for DakCertificateMetadata
source§impl PartialEq for DakCertificateMetadata
impl PartialEq for DakCertificateMetadata
source§fn eq(&self, other: &DakCertificateMetadata) -> bool
fn eq(&self, other: &DakCertificateMetadata) -> bool
self and other values to be equal, and is used
by ==.