Struct aws_sdk_acm::types::builders::DomainValidationBuilder
source · #[non_exhaustive]pub struct DomainValidationBuilder { /* private fields */ }
Expand description
A builder for DomainValidation
.
Implementations§
source§impl DomainValidationBuilder
impl DomainValidationBuilder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
A fully qualified domain name (FQDN) in the certificate. For example, www.example.com
or example.com
.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
A fully qualified domain name (FQDN) in the certificate. For example, www.example.com
or example.com
.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
A fully qualified domain name (FQDN) in the certificate. For example, www.example.com
or example.com
.
sourcepub fn validation_emails(self, input: impl Into<String>) -> Self
pub fn validation_emails(self, input: impl Into<String>) -> Self
Appends an item to validation_emails
.
To override the contents of this collection use set_validation_emails
.
A list of email addresses that ACM used to send domain validation emails.
sourcepub fn set_validation_emails(self, input: Option<Vec<String>>) -> Self
pub fn set_validation_emails(self, input: Option<Vec<String>>) -> Self
A list of email addresses that ACM used to send domain validation emails.
sourcepub fn get_validation_emails(&self) -> &Option<Vec<String>>
pub fn get_validation_emails(&self) -> &Option<Vec<String>>
A list of email addresses that ACM used to send domain validation emails.
sourcepub fn validation_domain(self, input: impl Into<String>) -> Self
pub fn validation_domain(self, input: impl Into<String>) -> Self
The domain name that ACM used to send domain validation emails.
sourcepub fn set_validation_domain(self, input: Option<String>) -> Self
pub fn set_validation_domain(self, input: Option<String>) -> Self
The domain name that ACM used to send domain validation emails.
sourcepub fn get_validation_domain(&self) -> &Option<String>
pub fn get_validation_domain(&self) -> &Option<String>
The domain name that ACM used to send domain validation emails.
sourcepub fn validation_status(self, input: DomainStatus) -> Self
pub fn validation_status(self, input: DomainStatus) -> Self
The validation status of the domain name. This can be one of the following values:
-
PENDING_VALIDATION
-
SUCCESS
-
FAILED
sourcepub fn set_validation_status(self, input: Option<DomainStatus>) -> Self
pub fn set_validation_status(self, input: Option<DomainStatus>) -> Self
The validation status of the domain name. This can be one of the following values:
-
PENDING_VALIDATION
-
SUCCESS
-
FAILED
sourcepub fn get_validation_status(&self) -> &Option<DomainStatus>
pub fn get_validation_status(&self) -> &Option<DomainStatus>
The validation status of the domain name. This can be one of the following values:
-
PENDING_VALIDATION
-
SUCCESS
-
FAILED
sourcepub fn resource_record(self, input: ResourceRecord) -> Self
pub fn resource_record(self, input: ResourceRecord) -> Self
Contains the CNAME record that you add to your DNS database for domain validation. For more information, see Use DNS to Validate Domain Ownership.
Note: The CNAME information that you need does not include the name of your domain. If you include your domain name in the DNS database CNAME record, validation fails. For example, if the name is "_a79865eb4cd1a6ab990a45779b4e0b96.yourdomain.com", only "_a79865eb4cd1a6ab990a45779b4e0b96" must be used.
sourcepub fn set_resource_record(self, input: Option<ResourceRecord>) -> Self
pub fn set_resource_record(self, input: Option<ResourceRecord>) -> Self
Contains the CNAME record that you add to your DNS database for domain validation. For more information, see Use DNS to Validate Domain Ownership.
Note: The CNAME information that you need does not include the name of your domain. If you include your domain name in the DNS database CNAME record, validation fails. For example, if the name is "_a79865eb4cd1a6ab990a45779b4e0b96.yourdomain.com", only "_a79865eb4cd1a6ab990a45779b4e0b96" must be used.
sourcepub fn get_resource_record(&self) -> &Option<ResourceRecord>
pub fn get_resource_record(&self) -> &Option<ResourceRecord>
Contains the CNAME record that you add to your DNS database for domain validation. For more information, see Use DNS to Validate Domain Ownership.
Note: The CNAME information that you need does not include the name of your domain. If you include your domain name in the DNS database CNAME record, validation fails. For example, if the name is "_a79865eb4cd1a6ab990a45779b4e0b96.yourdomain.com", only "_a79865eb4cd1a6ab990a45779b4e0b96" must be used.
sourcepub fn validation_method(self, input: ValidationMethod) -> Self
pub fn validation_method(self, input: ValidationMethod) -> Self
Specifies the domain validation method.
sourcepub fn set_validation_method(self, input: Option<ValidationMethod>) -> Self
pub fn set_validation_method(self, input: Option<ValidationMethod>) -> Self
Specifies the domain validation method.
sourcepub fn get_validation_method(&self) -> &Option<ValidationMethod>
pub fn get_validation_method(&self) -> &Option<ValidationMethod>
Specifies the domain validation method.
sourcepub fn build(self) -> Result<DomainValidation, BuildError>
pub fn build(self) -> Result<DomainValidation, BuildError>
Consumes the builder and constructs a DomainValidation
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DomainValidationBuilder
impl Clone for DomainValidationBuilder
source§fn clone(&self) -> DomainValidationBuilder
fn clone(&self) -> DomainValidationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DomainValidationBuilder
impl Debug for DomainValidationBuilder
source§impl Default for DomainValidationBuilder
impl Default for DomainValidationBuilder
source§fn default() -> DomainValidationBuilder
fn default() -> DomainValidationBuilder
source§impl PartialEq for DomainValidationBuilder
impl PartialEq for DomainValidationBuilder
source§fn eq(&self, other: &DomainValidationBuilder) -> bool
fn eq(&self, other: &DomainValidationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DomainValidationBuilder
Auto Trait Implementations§
impl Freeze for DomainValidationBuilder
impl RefUnwindSafe for DomainValidationBuilder
impl Send for DomainValidationBuilder
impl Sync for DomainValidationBuilder
impl Unpin for DomainValidationBuilder
impl UnwindSafe for DomainValidationBuilder
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