Struct aws_sdk_lightsail::types::DomainValidationRecord
source · #[non_exhaustive]pub struct DomainValidationRecord {
pub domain_name: Option<String>,
pub resource_record: Option<ResourceRecord>,
pub dns_record_creation_state: Option<DnsRecordCreationState>,
pub validation_status: Option<CertificateDomainValidationStatus>,
}
Expand description
Describes the domain name system (DNS) records that you must add to the DNS of your registered domain to validate ownership for an Amazon Lightsail SSL/TLS certificate.
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.domain_name: Option<String>
The domain name of the certificate validation record. For example, example.com
or www.example.com
.
resource_record: Option<ResourceRecord>
An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
dns_record_creation_state: Option<DnsRecordCreationState>
An object that describes the state of the canonical name (CNAME) records that are automatically added by Lightsail to the DNS of the domain to validate domain ownership.
validation_status: Option<CertificateDomainValidationStatus>
The validation status of the record.
Implementations§
source§impl DomainValidationRecord
impl DomainValidationRecord
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The domain name of the certificate validation record. For example, example.com
or www.example.com
.
sourcepub fn resource_record(&self) -> Option<&ResourceRecord>
pub fn resource_record(&self) -> Option<&ResourceRecord>
An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
sourcepub fn dns_record_creation_state(&self) -> Option<&DnsRecordCreationState>
pub fn dns_record_creation_state(&self) -> Option<&DnsRecordCreationState>
An object that describes the state of the canonical name (CNAME) records that are automatically added by Lightsail to the DNS of the domain to validate domain ownership.
sourcepub fn validation_status(&self) -> Option<&CertificateDomainValidationStatus>
pub fn validation_status(&self) -> Option<&CertificateDomainValidationStatus>
The validation status of the record.
source§impl DomainValidationRecord
impl DomainValidationRecord
sourcepub fn builder() -> DomainValidationRecordBuilder
pub fn builder() -> DomainValidationRecordBuilder
Creates a new builder-style object to manufacture DomainValidationRecord
.
Trait Implementations§
source§impl Clone for DomainValidationRecord
impl Clone for DomainValidationRecord
source§fn clone(&self) -> DomainValidationRecord
fn clone(&self) -> DomainValidationRecord
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DomainValidationRecord
impl Debug for DomainValidationRecord
source§impl PartialEq for DomainValidationRecord
impl PartialEq for DomainValidationRecord
source§fn eq(&self, other: &DomainValidationRecord) -> bool
fn eq(&self, other: &DomainValidationRecord) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DomainValidationRecord
Auto Trait Implementations§
impl Freeze for DomainValidationRecord
impl RefUnwindSafe for DomainValidationRecord
impl Send for DomainValidationRecord
impl Sync for DomainValidationRecord
impl Unpin for DomainValidationRecord
impl UnwindSafe for DomainValidationRecord
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