Struct aws_sdk_iot::types::builders::CaCertificateBuilder
source · #[non_exhaustive]pub struct CaCertificateBuilder { /* private fields */ }Expand description
A builder for CaCertificate.
Implementations§
source§impl CaCertificateBuilder
impl CaCertificateBuilder
sourcepub fn certificate_arn(self, input: impl Into<String>) -> Self
pub fn certificate_arn(self, input: impl Into<String>) -> Self
The ARN of the CA certificate.
sourcepub fn set_certificate_arn(self, input: Option<String>) -> Self
pub fn set_certificate_arn(self, input: Option<String>) -> Self
The ARN of the CA certificate.
sourcepub fn get_certificate_arn(&self) -> &Option<String>
pub fn get_certificate_arn(&self) -> &Option<String>
The ARN of the CA certificate.
sourcepub fn certificate_id(self, input: impl Into<String>) -> Self
pub fn certificate_id(self, input: impl Into<String>) -> Self
The ID of the CA certificate.
sourcepub fn set_certificate_id(self, input: Option<String>) -> Self
pub fn set_certificate_id(self, input: Option<String>) -> Self
The ID of the CA certificate.
sourcepub fn get_certificate_id(&self) -> &Option<String>
pub fn get_certificate_id(&self) -> &Option<String>
The ID of the CA certificate.
sourcepub fn status(self, input: CaCertificateStatus) -> Self
pub fn status(self, input: CaCertificateStatus) -> Self
The status of the CA certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
sourcepub fn set_status(self, input: Option<CaCertificateStatus>) -> Self
pub fn set_status(self, input: Option<CaCertificateStatus>) -> Self
The status of the CA certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
sourcepub fn get_status(&self) -> &Option<CaCertificateStatus>
pub fn get_status(&self) -> &Option<CaCertificateStatus>
The status of the CA certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
The date the CA certificate was created.
sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
The date the CA certificate was created.
sourcepub fn get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
The date the CA certificate was created.
sourcepub fn build(self) -> CaCertificate
pub fn build(self) -> CaCertificate
Consumes the builder and constructs a CaCertificate.
Trait Implementations§
source§impl Clone for CaCertificateBuilder
impl Clone for CaCertificateBuilder
source§fn clone(&self) -> CaCertificateBuilder
fn clone(&self) -> CaCertificateBuilder
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 CaCertificateBuilder
impl Debug for CaCertificateBuilder
source§impl Default for CaCertificateBuilder
impl Default for CaCertificateBuilder
source§fn default() -> CaCertificateBuilder
fn default() -> CaCertificateBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CaCertificateBuilder
impl PartialEq for CaCertificateBuilder
source§fn eq(&self, other: &CaCertificateBuilder) -> bool
fn eq(&self, other: &CaCertificateBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CaCertificateBuilder
Auto Trait Implementations§
impl Freeze for CaCertificateBuilder
impl RefUnwindSafe for CaCertificateBuilder
impl Send for CaCertificateBuilder
impl Sync for CaCertificateBuilder
impl Unpin for CaCertificateBuilder
impl UnwindSafe for CaCertificateBuilder
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.