#[non_exhaustive]pub struct RegisterCertificateInput {
pub certificate_pem: Option<String>,
pub ca_certificate_pem: Option<String>,
pub set_as_active: Option<bool>,
pub status: Option<CertificateStatus>,
}Expand description
The input to the RegisterCertificate operation.
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_pem: Option<String>The certificate data, in PEM format.
ca_certificate_pem: Option<String>The CA certificate used to sign the device certificate being registered.
set_as_active: Option<bool>A boolean value that specifies if the certificate is set to active.
Valid values: ACTIVE | INACTIVE
status: Option<CertificateStatus>The status of the register certificate request. Valid values that you can use include ACTIVE, INACTIVE, and REVOKED.
Implementations§
source§impl RegisterCertificateInput
impl RegisterCertificateInput
sourcepub fn certificate_pem(&self) -> Option<&str>
pub fn certificate_pem(&self) -> Option<&str>
The certificate data, in PEM format.
sourcepub fn ca_certificate_pem(&self) -> Option<&str>
pub fn ca_certificate_pem(&self) -> Option<&str>
The CA certificate used to sign the device certificate being registered.
sourcepub fn set_as_active(&self) -> Option<bool>
👎Deprecated
pub fn set_as_active(&self) -> Option<bool>
A boolean value that specifies if the certificate is set to active.
Valid values: ACTIVE | INACTIVE
sourcepub fn status(&self) -> Option<&CertificateStatus>
pub fn status(&self) -> Option<&CertificateStatus>
The status of the register certificate request. Valid values that you can use include ACTIVE, INACTIVE, and REVOKED.
source§impl RegisterCertificateInput
impl RegisterCertificateInput
sourcepub fn builder() -> RegisterCertificateInputBuilder
pub fn builder() -> RegisterCertificateInputBuilder
Creates a new builder-style object to manufacture RegisterCertificateInput.
Trait Implementations§
source§impl Clone for RegisterCertificateInput
impl Clone for RegisterCertificateInput
source§fn clone(&self) -> RegisterCertificateInput
fn clone(&self) -> RegisterCertificateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RegisterCertificateInput
impl Debug for RegisterCertificateInput
source§impl PartialEq for RegisterCertificateInput
impl PartialEq for RegisterCertificateInput
source§fn eq(&self, other: &RegisterCertificateInput) -> bool
fn eq(&self, other: &RegisterCertificateInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RegisterCertificateInput
Auto Trait Implementations§
impl Freeze for RegisterCertificateInput
impl RefUnwindSafe for RegisterCertificateInput
impl Send for RegisterCertificateInput
impl Sync for RegisterCertificateInput
impl Unpin for RegisterCertificateInput
impl UnwindSafe for RegisterCertificateInput
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