Struct aws_sdk_databasemigration::types::Certificate
source · #[non_exhaustive]pub struct Certificate {
pub certificate_identifier: Option<String>,
pub certificate_creation_date: Option<DateTime>,
pub certificate_pem: Option<String>,
pub certificate_wallet: Option<Blob>,
pub certificate_arn: Option<String>,
pub certificate_owner: Option<String>,
pub valid_from_date: Option<DateTime>,
pub valid_to_date: Option<DateTime>,
pub signing_algorithm: Option<String>,
pub key_length: Option<i32>,
}
Expand description
The SSL certificate that can be used to encrypt connections between the endpoints and the replication instance.
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>
A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
certificate_creation_date: Option<DateTime>
The date that the certificate was created.
certificate_pem: Option<String>
The contents of a .pem
file, which contains an X.509 certificate.
certificate_wallet: Option<Blob>
The location of an imported Oracle Wallet certificate for use with SSL. Example: filebase64("${path.root}/rds-ca-2019-root.sso")
certificate_arn: Option<String>
The Amazon Resource Name (ARN) for the certificate.
certificate_owner: Option<String>
The owner of the certificate.
valid_from_date: Option<DateTime>
The beginning date that the certificate is valid.
valid_to_date: Option<DateTime>
The final date that the certificate is valid.
signing_algorithm: Option<String>
The signing algorithm for the certificate.
key_length: Option<i32>
The key length of the cryptographic algorithm being used.
Implementations§
source§impl Certificate
impl Certificate
sourcepub fn certificate_identifier(&self) -> Option<&str>
pub fn certificate_identifier(&self) -> Option<&str>
A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
sourcepub fn certificate_creation_date(&self) -> Option<&DateTime>
pub fn certificate_creation_date(&self) -> Option<&DateTime>
The date that the certificate was created.
sourcepub fn certificate_pem(&self) -> Option<&str>
pub fn certificate_pem(&self) -> Option<&str>
The contents of a .pem
file, which contains an X.509 certificate.
sourcepub fn certificate_wallet(&self) -> Option<&Blob>
pub fn certificate_wallet(&self) -> Option<&Blob>
The location of an imported Oracle Wallet certificate for use with SSL. Example: filebase64("${path.root}/rds-ca-2019-root.sso")
sourcepub fn certificate_arn(&self) -> Option<&str>
pub fn certificate_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the certificate.
sourcepub fn certificate_owner(&self) -> Option<&str>
pub fn certificate_owner(&self) -> Option<&str>
The owner of the certificate.
sourcepub fn valid_from_date(&self) -> Option<&DateTime>
pub fn valid_from_date(&self) -> Option<&DateTime>
The beginning date that the certificate is valid.
sourcepub fn valid_to_date(&self) -> Option<&DateTime>
pub fn valid_to_date(&self) -> Option<&DateTime>
The final date that the certificate is valid.
sourcepub fn signing_algorithm(&self) -> Option<&str>
pub fn signing_algorithm(&self) -> Option<&str>
The signing algorithm for the certificate.
sourcepub fn key_length(&self) -> Option<i32>
pub fn key_length(&self) -> Option<i32>
The key length of the cryptographic algorithm being used.
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 ==
.impl StructuralPartialEq for Certificate
Auto Trait Implementations§
impl Freeze for Certificate
impl RefUnwindSafe for Certificate
impl Send for Certificate
impl Sync for Certificate
impl Unpin for Certificate
impl UnwindSafe for Certificate
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> 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