Struct aws_sdk_rds::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>,
pub customer_override: Option<bool>,
pub customer_override_valid_till: Option<DateTime>,
}Expand description
A CA certificate for an Amazon Web Services account.
For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
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.
certificate_type: Option<String>The type of the certificate.
thumbprint: Option<String>The thumbprint of the certificate.
valid_from: Option<DateTime>The starting date from which the certificate is valid.
valid_till: Option<DateTime>The final date that the certificate continues to be valid.
certificate_arn: Option<String>The Amazon Resource Name (ARN) for the certificate.
customer_override: Option<bool>Indicates whether there is an override for the default certificate identifier.
customer_override_valid_till: Option<DateTime>If there is an override for the default certificate identifier, when the override expires.
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.
sourcepub fn certificate_type(&self) -> Option<&str>
pub fn certificate_type(&self) -> Option<&str>
The type of the certificate.
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 from which the certificate is valid.
sourcepub fn valid_till(&self) -> Option<&DateTime>
pub fn valid_till(&self) -> Option<&DateTime>
The final date that the certificate continues to be valid.
sourcepub fn certificate_arn(&self) -> Option<&str>
pub fn certificate_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the certificate.
sourcepub fn customer_override(&self) -> Option<bool>
pub fn customer_override(&self) -> Option<bool>
Indicates whether there is an override for the default certificate identifier.
sourcepub fn customer_override_valid_till(&self) -> Option<&DateTime>
pub fn customer_override_valid_till(&self) -> Option<&DateTime>
If there is an override for the default certificate identifier, when the override expires.
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 ==.