Struct aws_sdk_apprunner::operation::associate_custom_domain::builders::AssociateCustomDomainInputBuilder
source · #[non_exhaustive]pub struct AssociateCustomDomainInputBuilder { /* private fields */ }
Expand description
A builder for AssociateCustomDomainInput
.
Implementations§
source§impl AssociateCustomDomainInputBuilder
impl AssociateCustomDomainInputBuilder
sourcepub fn service_arn(self, input: impl Into<String>) -> Self
pub fn service_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the App Runner service that you want to associate a custom domain name with.
This field is required.sourcepub fn set_service_arn(self, input: Option<String>) -> Self
pub fn set_service_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the App Runner service that you want to associate a custom domain name with.
sourcepub fn get_service_arn(&self) -> &Option<String>
pub fn get_service_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the App Runner service that you want to associate a custom domain name with.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
A custom domain endpoint to associate. Specify 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
A custom domain endpoint to associate. Specify 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>
A custom domain endpoint to associate. Specify 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
Set to true
to associate the subdomain www.DomainName
with the App Runner service in addition to the base domain.
Default: true
sourcepub fn set_enable_www_subdomain(self, input: Option<bool>) -> Self
pub fn set_enable_www_subdomain(self, input: Option<bool>) -> Self
Set to true
to associate the subdomain www.DomainName
with the App Runner service in addition to the base domain.
Default: true
sourcepub fn get_enable_www_subdomain(&self) -> &Option<bool>
pub fn get_enable_www_subdomain(&self) -> &Option<bool>
Set to true
to associate the subdomain www.DomainName
with the App Runner service in addition to the base domain.
Default: true
sourcepub fn build(self) -> Result<AssociateCustomDomainInput, BuildError>
pub fn build(self) -> Result<AssociateCustomDomainInput, BuildError>
Consumes the builder and constructs a AssociateCustomDomainInput
.
source§impl AssociateCustomDomainInputBuilder
impl AssociateCustomDomainInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateCustomDomainOutput, SdkError<AssociateCustomDomainError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateCustomDomainOutput, SdkError<AssociateCustomDomainError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateCustomDomainInputBuilder
impl Clone for AssociateCustomDomainInputBuilder
source§fn clone(&self) -> AssociateCustomDomainInputBuilder
fn clone(&self) -> AssociateCustomDomainInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AssociateCustomDomainInputBuilder
impl Default for AssociateCustomDomainInputBuilder
source§fn default() -> AssociateCustomDomainInputBuilder
fn default() -> AssociateCustomDomainInputBuilder
source§impl PartialEq for AssociateCustomDomainInputBuilder
impl PartialEq for AssociateCustomDomainInputBuilder
source§fn eq(&self, other: &AssociateCustomDomainInputBuilder) -> bool
fn eq(&self, other: &AssociateCustomDomainInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.