Struct aws_sdk_amplify::operation::create_domain_association::builders::CreateDomainAssociationInputBuilder
source · #[non_exhaustive]pub struct CreateDomainAssociationInputBuilder { /* private fields */ }Expand description
A builder for CreateDomainAssociationInput.
Implementations§
source§impl CreateDomainAssociationInputBuilder
impl CreateDomainAssociationInputBuilder
sourcepub fn app_id(self, input: impl Into<String>) -> Self
pub fn app_id(self, input: impl Into<String>) -> Self
The unique ID for an Amplify app.
This field is required.sourcepub fn set_app_id(self, input: Option<String>) -> Self
pub fn set_app_id(self, input: Option<String>) -> Self
The unique ID for an Amplify app.
sourcepub fn get_app_id(&self) -> &Option<String>
pub fn get_app_id(&self) -> &Option<String>
The unique ID for an Amplify app.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The domain name for the domain association.
This field is required.sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The domain name for the domain association.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The domain name for the domain association.
sourcepub fn enable_auto_sub_domain(self, input: bool) -> Self
pub fn enable_auto_sub_domain(self, input: bool) -> Self
Enables the automated creation of subdomains for branches.
sourcepub fn set_enable_auto_sub_domain(self, input: Option<bool>) -> Self
pub fn set_enable_auto_sub_domain(self, input: Option<bool>) -> Self
Enables the automated creation of subdomains for branches.
sourcepub fn get_enable_auto_sub_domain(&self) -> &Option<bool>
pub fn get_enable_auto_sub_domain(&self) -> &Option<bool>
Enables the automated creation of subdomains for branches.
sourcepub fn sub_domain_settings(self, input: SubDomainSetting) -> Self
pub fn sub_domain_settings(self, input: SubDomainSetting) -> Self
Appends an item to sub_domain_settings.
To override the contents of this collection use set_sub_domain_settings.
The setting for the subdomain.
sourcepub fn set_sub_domain_settings(
self,
input: Option<Vec<SubDomainSetting>>,
) -> Self
pub fn set_sub_domain_settings( self, input: Option<Vec<SubDomainSetting>>, ) -> Self
The setting for the subdomain.
sourcepub fn get_sub_domain_settings(&self) -> &Option<Vec<SubDomainSetting>>
pub fn get_sub_domain_settings(&self) -> &Option<Vec<SubDomainSetting>>
The setting for the subdomain.
sourcepub fn auto_sub_domain_creation_patterns(self, input: impl Into<String>) -> Self
pub fn auto_sub_domain_creation_patterns(self, input: impl Into<String>) -> Self
Appends an item to auto_sub_domain_creation_patterns.
To override the contents of this collection use set_auto_sub_domain_creation_patterns.
Sets the branch patterns for automatic subdomain creation.
sourcepub fn set_auto_sub_domain_creation_patterns(
self,
input: Option<Vec<String>>,
) -> Self
pub fn set_auto_sub_domain_creation_patterns( self, input: Option<Vec<String>>, ) -> Self
Sets the branch patterns for automatic subdomain creation.
sourcepub fn get_auto_sub_domain_creation_patterns(&self) -> &Option<Vec<String>>
pub fn get_auto_sub_domain_creation_patterns(&self) -> &Option<Vec<String>>
Sets the branch patterns for automatic subdomain creation.
sourcepub fn auto_sub_domain_iam_role(self, input: impl Into<String>) -> Self
pub fn auto_sub_domain_iam_role(self, input: impl Into<String>) -> Self
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
sourcepub fn set_auto_sub_domain_iam_role(self, input: Option<String>) -> Self
pub fn set_auto_sub_domain_iam_role(self, input: Option<String>) -> Self
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
sourcepub fn get_auto_sub_domain_iam_role(&self) -> &Option<String>
pub fn get_auto_sub_domain_iam_role(&self) -> &Option<String>
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
sourcepub fn certificate_settings(self, input: CertificateSettings) -> Self
pub fn certificate_settings(self, input: CertificateSettings) -> Self
The type of SSL/TLS certificate to use for your custom domain. If you don't specify a certificate type, Amplify uses the default certificate that it provisions and manages for you.
sourcepub fn set_certificate_settings(
self,
input: Option<CertificateSettings>,
) -> Self
pub fn set_certificate_settings( self, input: Option<CertificateSettings>, ) -> Self
The type of SSL/TLS certificate to use for your custom domain. If you don't specify a certificate type, Amplify uses the default certificate that it provisions and manages for you.
sourcepub fn get_certificate_settings(&self) -> &Option<CertificateSettings>
pub fn get_certificate_settings(&self) -> &Option<CertificateSettings>
The type of SSL/TLS certificate to use for your custom domain. If you don't specify a certificate type, Amplify uses the default certificate that it provisions and manages for you.
sourcepub fn build(self) -> Result<CreateDomainAssociationInput, BuildError>
pub fn build(self) -> Result<CreateDomainAssociationInput, BuildError>
Consumes the builder and constructs a CreateDomainAssociationInput.
source§impl CreateDomainAssociationInputBuilder
impl CreateDomainAssociationInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateDomainAssociationOutput, SdkError<CreateDomainAssociationError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateDomainAssociationOutput, SdkError<CreateDomainAssociationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDomainAssociationInputBuilder
impl Clone for CreateDomainAssociationInputBuilder
source§fn clone(&self) -> CreateDomainAssociationInputBuilder
fn clone(&self) -> CreateDomainAssociationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateDomainAssociationInputBuilder
impl Default for CreateDomainAssociationInputBuilder
source§fn default() -> CreateDomainAssociationInputBuilder
fn default() -> CreateDomainAssociationInputBuilder
source§impl PartialEq for CreateDomainAssociationInputBuilder
impl PartialEq for CreateDomainAssociationInputBuilder
source§fn eq(&self, other: &CreateDomainAssociationInputBuilder) -> bool
fn eq(&self, other: &CreateDomainAssociationInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateDomainAssociationInputBuilder
Auto Trait Implementations§
impl Freeze for CreateDomainAssociationInputBuilder
impl RefUnwindSafe for CreateDomainAssociationInputBuilder
impl Send for CreateDomainAssociationInputBuilder
impl Sync for CreateDomainAssociationInputBuilder
impl Unpin for CreateDomainAssociationInputBuilder
impl UnwindSafe for CreateDomainAssociationInputBuilder
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