Struct aws_sdk_acm::model::domain_validation::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for DomainValidation
.
Implementations
sourceimpl Builder
impl Builder
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 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 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 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 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 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 build(self) -> DomainValidation
pub fn build(self) -> DomainValidation
Consumes the builder and constructs a DomainValidation
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more