Struct aws_sdk_acm::types::DomainValidationOption
source · #[non_exhaustive]pub struct DomainValidationOption {
pub domain_name: String,
pub validation_domain: String,
}
Expand description
Contains information about the domain names that you want ACM to use to send you emails that enable you to validate domain ownership.
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: String
A fully qualified domain name (FQDN) in the certificate request.
validation_domain: String
The domain name that you want ACM to use to send you validation emails. This domain name is the suffix of the email addresses that you want ACM to use. This must be the same as the DomainName
value or a superdomain of the DomainName
value. For example, if you request a certificate for testing.example.com
, you can specify example.com
for this value. In that case, ACM sends domain validation emails to the following five addresses:
-
admin@example.com
-
administrator@example.com
-
hostmaster@example.com
-
postmaster@example.com
-
webmaster@example.com
Implementations§
source§impl DomainValidationOption
impl DomainValidationOption
sourcepub fn domain_name(&self) -> &str
pub fn domain_name(&self) -> &str
A fully qualified domain name (FQDN) in the certificate request.
sourcepub fn validation_domain(&self) -> &str
pub fn validation_domain(&self) -> &str
The domain name that you want ACM to use to send you validation emails. This domain name is the suffix of the email addresses that you want ACM to use. This must be the same as the DomainName
value or a superdomain of the DomainName
value. For example, if you request a certificate for testing.example.com
, you can specify example.com
for this value. In that case, ACM sends domain validation emails to the following five addresses:
-
admin@example.com
-
administrator@example.com
-
hostmaster@example.com
-
postmaster@example.com
-
webmaster@example.com
source§impl DomainValidationOption
impl DomainValidationOption
sourcepub fn builder() -> DomainValidationOptionBuilder
pub fn builder() -> DomainValidationOptionBuilder
Creates a new builder-style object to manufacture DomainValidationOption
.
Trait Implementations§
source§impl Clone for DomainValidationOption
impl Clone for DomainValidationOption
source§fn clone(&self) -> DomainValidationOption
fn clone(&self) -> DomainValidationOption
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DomainValidationOption
impl Debug for DomainValidationOption
source§impl PartialEq for DomainValidationOption
impl PartialEq for DomainValidationOption
source§fn eq(&self, other: &DomainValidationOption) -> bool
fn eq(&self, other: &DomainValidationOption) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DomainValidationOption
Auto Trait Implementations§
impl Freeze for DomainValidationOption
impl RefUnwindSafe for DomainValidationOption
impl Send for DomainValidationOption
impl Sync for DomainValidationOption
impl Unpin for DomainValidationOption
impl UnwindSafe for DomainValidationOption
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