Struct aws_sdk_ses::operation::verify_domain_identity::builders::VerifyDomainIdentityOutputBuilder
source · #[non_exhaustive]pub struct VerifyDomainIdentityOutputBuilder { /* private fields */ }
Expand description
A builder for VerifyDomainIdentityOutput
.
Implementations§
source§impl VerifyDomainIdentityOutputBuilder
impl VerifyDomainIdentityOutputBuilder
sourcepub fn verification_token(self, input: impl Into<String>) -> Self
pub fn verification_token(self, input: impl Into<String>) -> Self
A TXT record that you must place in the DNS settings of the domain to complete domain verification with Amazon SES.
As Amazon SES searches for the TXT record, the domain's verification status is "Pending". When Amazon SES detects the record, the domain's verification status changes to "Success". If Amazon SES is unable to detect the record within 72 hours, the domain's verification status changes to "Failed." In that case, to verify the domain, you must restart the verification process from the beginning. The domain's verification status also changes to "Success" when it is DKIM verified.
This field is required.sourcepub fn set_verification_token(self, input: Option<String>) -> Self
pub fn set_verification_token(self, input: Option<String>) -> Self
A TXT record that you must place in the DNS settings of the domain to complete domain verification with Amazon SES.
As Amazon SES searches for the TXT record, the domain's verification status is "Pending". When Amazon SES detects the record, the domain's verification status changes to "Success". If Amazon SES is unable to detect the record within 72 hours, the domain's verification status changes to "Failed." In that case, to verify the domain, you must restart the verification process from the beginning. The domain's verification status also changes to "Success" when it is DKIM verified.
sourcepub fn get_verification_token(&self) -> &Option<String>
pub fn get_verification_token(&self) -> &Option<String>
A TXT record that you must place in the DNS settings of the domain to complete domain verification with Amazon SES.
As Amazon SES searches for the TXT record, the domain's verification status is "Pending". When Amazon SES detects the record, the domain's verification status changes to "Success". If Amazon SES is unable to detect the record within 72 hours, the domain's verification status changes to "Failed." In that case, to verify the domain, you must restart the verification process from the beginning. The domain's verification status also changes to "Success" when it is DKIM verified.
sourcepub fn build(self) -> Result<VerifyDomainIdentityOutput, BuildError>
pub fn build(self) -> Result<VerifyDomainIdentityOutput, BuildError>
Consumes the builder and constructs a VerifyDomainIdentityOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for VerifyDomainIdentityOutputBuilder
impl Clone for VerifyDomainIdentityOutputBuilder
source§fn clone(&self) -> VerifyDomainIdentityOutputBuilder
fn clone(&self) -> VerifyDomainIdentityOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for VerifyDomainIdentityOutputBuilder
impl Default for VerifyDomainIdentityOutputBuilder
source§fn default() -> VerifyDomainIdentityOutputBuilder
fn default() -> VerifyDomainIdentityOutputBuilder
source§impl PartialEq for VerifyDomainIdentityOutputBuilder
impl PartialEq for VerifyDomainIdentityOutputBuilder
source§fn eq(&self, other: &VerifyDomainIdentityOutputBuilder) -> bool
fn eq(&self, other: &VerifyDomainIdentityOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.