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 ==
.impl StructuralPartialEq for AssociateCustomDomainInputBuilder
Auto Trait Implementations§
impl Freeze for AssociateCustomDomainInputBuilder
impl RefUnwindSafe for AssociateCustomDomainInputBuilder
impl Send for AssociateCustomDomainInputBuilder
impl Sync for AssociateCustomDomainInputBuilder
impl Unpin for AssociateCustomDomainInputBuilder
impl UnwindSafe for AssociateCustomDomainInputBuilder
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