Struct aws_sdk_acm::types::builders::DomainValidationOptionBuilder
source · #[non_exhaustive]pub struct DomainValidationOptionBuilder { /* private fields */ }
Expand description
A builder for DomainValidationOption
.
Implementations§
source§impl DomainValidationOptionBuilder
impl DomainValidationOptionBuilder
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 request.
This field is required.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 request.
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 request.
sourcepub fn validation_domain(self, input: impl Into<String>) -> Self
pub fn validation_domain(self, input: impl Into<String>) -> Self
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
sourcepub fn set_validation_domain(self, input: Option<String>) -> Self
pub fn set_validation_domain(self, input: Option<String>) -> Self
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
sourcepub fn get_validation_domain(&self) -> &Option<String>
pub fn get_validation_domain(&self) -> &Option<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
sourcepub fn build(self) -> Result<DomainValidationOption, BuildError>
pub fn build(self) -> Result<DomainValidationOption, BuildError>
Consumes the builder and constructs a DomainValidationOption
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DomainValidationOptionBuilder
impl Clone for DomainValidationOptionBuilder
source§fn clone(&self) -> DomainValidationOptionBuilder
fn clone(&self) -> DomainValidationOptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DomainValidationOptionBuilder
impl Default for DomainValidationOptionBuilder
source§fn default() -> DomainValidationOptionBuilder
fn default() -> DomainValidationOptionBuilder
source§impl PartialEq for DomainValidationOptionBuilder
impl PartialEq for DomainValidationOptionBuilder
source§fn eq(&self, other: &DomainValidationOptionBuilder) -> bool
fn eq(&self, other: &DomainValidationOptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.