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.
This field is required.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) -> Result<CustomDomain, BuildError>
pub fn build(self) -> Result<CustomDomain, BuildError>
Consumes the builder and constructs a CustomDomain
.
This method will fail if any of the following fields are not set:
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 for CustomDomainBuilder
impl PartialEq for CustomDomainBuilder
impl StructuralPartialEq for CustomDomainBuilder
Auto Trait Implementations§
impl Freeze for CustomDomainBuilder
impl RefUnwindSafe for CustomDomainBuilder
impl Send for CustomDomainBuilder
impl Sync for CustomDomainBuilder
impl Unpin for CustomDomainBuilder
impl UnwindSafe for CustomDomainBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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