Struct aws_sdk_amplify::operation::create_domain_association::builders::CreateDomainAssociationFluentBuilder
source · pub struct CreateDomainAssociationFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateDomainAssociation.
Creates a new domain association for an Amplify app. This action associates a custom domain with the Amplify app
Implementations§
source§impl CreateDomainAssociationFluentBuilder
impl CreateDomainAssociationFluentBuilder
sourcepub fn as_input(&self) -> &CreateDomainAssociationInputBuilder
pub fn as_input(&self) -> &CreateDomainAssociationInputBuilder
Access the CreateDomainAssociation as a reference.
sourcepub async fn send(
self
) -> Result<CreateDomainAssociationOutput, SdkError<CreateDomainAssociationError, HttpResponse>>
pub async fn send( self ) -> Result<CreateDomainAssociationOutput, SdkError<CreateDomainAssociationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateDomainAssociationOutput, CreateDomainAssociationError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateDomainAssociationOutput, CreateDomainAssociationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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 subDomainSettings.
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 autoSubDomainCreationPatterns.
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.
Trait Implementations§
source§impl Clone for CreateDomainAssociationFluentBuilder
impl Clone for CreateDomainAssociationFluentBuilder
source§fn clone(&self) -> CreateDomainAssociationFluentBuilder
fn clone(&self) -> CreateDomainAssociationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more