Struct aws_sdk_docdb::types::Certificate
source · #[non_exhaustive]pub struct Certificate {
pub certificate_identifier: Option<String>,
pub certificate_type: Option<String>,
pub thumbprint: Option<String>,
pub valid_from: Option<DateTime>,
pub valid_till: Option<DateTime>,
pub certificate_arn: Option<String>,
}
Expand description
A certificate authority (CA) certificate for an Amazon Web Services account.
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_identifier: Option<String>
The unique key that identifies a certificate.
Example: rds-ca-2019
certificate_type: Option<String>
The type of the certificate.
Example: CA
thumbprint: Option<String>
The thumbprint of the certificate.
valid_from: Option<DateTime>
The starting date-time from which the certificate is valid.
Example: 2019-07-31T17:57:09Z
valid_till: Option<DateTime>
The date-time after which the certificate is no longer valid.
Example: 2024-07-31T17:57:09Z
certificate_arn: Option<String>
The Amazon Resource Name (ARN) for the certificate.
Example: arn:aws:rds:us-east-1::cert:rds-ca-2019
Implementations§
source§impl Certificate
impl Certificate
sourcepub fn certificate_identifier(&self) -> Option<&str>
pub fn certificate_identifier(&self) -> Option<&str>
The unique key that identifies a certificate.
Example: rds-ca-2019
sourcepub fn certificate_type(&self) -> Option<&str>
pub fn certificate_type(&self) -> Option<&str>
The type of the certificate.
Example: CA
sourcepub fn thumbprint(&self) -> Option<&str>
pub fn thumbprint(&self) -> Option<&str>
The thumbprint of the certificate.
sourcepub fn valid_from(&self) -> Option<&DateTime>
pub fn valid_from(&self) -> Option<&DateTime>
The starting date-time from which the certificate is valid.
Example: 2019-07-31T17:57:09Z
sourcepub fn valid_till(&self) -> Option<&DateTime>
pub fn valid_till(&self) -> Option<&DateTime>
The date-time after which the certificate is no longer valid.
Example: 2024-07-31T17:57:09Z
sourcepub fn certificate_arn(&self) -> Option<&str>
pub fn certificate_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the certificate.
Example: arn:aws:rds:us-east-1::cert:rds-ca-2019
source§impl Certificate
impl Certificate
sourcepub fn builder() -> CertificateBuilder
pub fn builder() -> CertificateBuilder
Creates a new builder-style object to manufacture Certificate
.
Trait Implementations§
source§impl Clone for Certificate
impl Clone for Certificate
source§fn clone(&self) -> Certificate
fn clone(&self) -> Certificate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Certificate
impl Debug for Certificate
source§impl PartialEq for Certificate
impl PartialEq for Certificate
source§fn eq(&self, other: &Certificate) -> bool
fn eq(&self, other: &Certificate) -> bool
self
and other
values to be equal, and is used
by ==
.