Struct aws_sdk_apprunner::types::builders::CustomDomainBuilder
source · #[non_exhaustive]pub struct CustomDomainBuilder { /* private fields */ }
Expand description
A builder for CustomDomain
.
Implementations§
source§impl CustomDomainBuilder
impl CustomDomainBuilder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
An associated custom domain endpoint. It can be a root domain (for example, example.com
), a subdomain (for example, login.example.com
or admin.login.example.com
), or a wildcard (for example, *.example.com
).
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
An associated custom domain endpoint. It can be a root domain (for example, example.com
), a subdomain (for example, login.example.com
or admin.login.example.com
), or a wildcard (for example, *.example.com
).
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
An associated custom domain endpoint. It can be a root domain (for example, example.com
), a subdomain (for example, login.example.com
or admin.login.example.com
), or a wildcard (for example, *.example.com
).
sourcepub fn enable_www_subdomain(self, input: bool) -> Self
pub fn enable_www_subdomain(self, input: bool) -> Self
When true
, the subdomain www.DomainName
is associated with the App Runner service in addition to the base domain.
sourcepub fn set_enable_www_subdomain(self, input: Option<bool>) -> Self
pub fn set_enable_www_subdomain(self, input: Option<bool>) -> Self
When true
, the subdomain www.DomainName
is associated with the App Runner service in addition to the base domain.
sourcepub fn get_enable_www_subdomain(&self) -> &Option<bool>
pub fn get_enable_www_subdomain(&self) -> &Option<bool>
When true
, the subdomain www.DomainName
is associated with the App Runner service in addition to the base domain.
sourcepub fn certificate_validation_records(
self,
input: CertificateValidationRecord
) -> Self
pub fn certificate_validation_records( self, input: CertificateValidationRecord ) -> Self
Appends an item to certificate_validation_records
.
To override the contents of this collection use set_certificate_validation_records
.
A list of certificate CNAME records that's used for this domain name.
sourcepub fn set_certificate_validation_records(
self,
input: Option<Vec<CertificateValidationRecord>>
) -> Self
pub fn set_certificate_validation_records( self, input: Option<Vec<CertificateValidationRecord>> ) -> Self
A list of certificate CNAME records that's used for this domain name.
sourcepub fn get_certificate_validation_records(
&self
) -> &Option<Vec<CertificateValidationRecord>>
pub fn get_certificate_validation_records( &self ) -> &Option<Vec<CertificateValidationRecord>>
A list of certificate CNAME records that's used for this domain name.
sourcepub fn status(self, input: CustomDomainAssociationStatus) -> Self
pub fn status(self, input: CustomDomainAssociationStatus) -> Self
The current state of the domain name association.
sourcepub fn set_status(self, input: Option<CustomDomainAssociationStatus>) -> Self
pub fn set_status(self, input: Option<CustomDomainAssociationStatus>) -> Self
The current state of the domain name association.
sourcepub fn get_status(&self) -> &Option<CustomDomainAssociationStatus>
pub fn get_status(&self) -> &Option<CustomDomainAssociationStatus>
The current state of the domain name association.
sourcepub fn build(self) -> CustomDomain
pub fn build(self) -> CustomDomain
Consumes the builder and constructs a CustomDomain
.
Trait Implementations§
source§impl Clone for CustomDomainBuilder
impl Clone for CustomDomainBuilder
source§fn clone(&self) -> CustomDomainBuilder
fn clone(&self) -> CustomDomainBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CustomDomainBuilder
impl Debug for CustomDomainBuilder
source§impl Default for CustomDomainBuilder
impl Default for CustomDomainBuilder
source§fn default() -> CustomDomainBuilder
fn default() -> CustomDomainBuilder
source§impl PartialEq<CustomDomainBuilder> for CustomDomainBuilder
impl PartialEq<CustomDomainBuilder> for CustomDomainBuilder
source§fn eq(&self, other: &CustomDomainBuilder) -> bool
fn eq(&self, other: &CustomDomainBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.