Struct aws_sdk_amplify::types::builders::DomainAssociationBuilder
source · #[non_exhaustive]pub struct DomainAssociationBuilder { /* private fields */ }Expand description
A builder for DomainAssociation.
Implementations§
source§impl DomainAssociationBuilder
impl DomainAssociationBuilder
sourcepub fn domain_association_arn(self, input: impl Into<String>) -> Self
pub fn domain_association_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the domain association.
This field is required.sourcepub fn set_domain_association_arn(self, input: Option<String>) -> Self
pub fn set_domain_association_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the domain association.
sourcepub fn get_domain_association_arn(&self) -> &Option<String>
pub fn get_domain_association_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the domain association.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The name of the domain.
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 name of the domain.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The name of the domain.
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.
This field is required.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 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 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 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 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 domain_status(self, input: DomainStatus) -> Self
pub fn domain_status(self, input: DomainStatus) -> Self
The current status of the domain association.
This field is required.sourcepub fn set_domain_status(self, input: Option<DomainStatus>) -> Self
pub fn set_domain_status(self, input: Option<DomainStatus>) -> Self
The current status of the domain association.
sourcepub fn get_domain_status(&self) -> &Option<DomainStatus>
pub fn get_domain_status(&self) -> &Option<DomainStatus>
The current status of the domain association.
sourcepub fn status_reason(self, input: impl Into<String>) -> Self
pub fn status_reason(self, input: impl Into<String>) -> Self
The reason for the current status of the domain association.
This field is required.sourcepub fn set_status_reason(self, input: Option<String>) -> Self
pub fn set_status_reason(self, input: Option<String>) -> Self
The reason for the current status of the domain association.
sourcepub fn get_status_reason(&self) -> &Option<String>
pub fn get_status_reason(&self) -> &Option<String>
The reason for the current status of the domain association.
sourcepub fn certificate_verification_dns_record(
self,
input: impl Into<String>
) -> Self
pub fn certificate_verification_dns_record( self, input: impl Into<String> ) -> Self
The DNS record for certificate verification.
sourcepub fn set_certificate_verification_dns_record(
self,
input: Option<String>
) -> Self
pub fn set_certificate_verification_dns_record( self, input: Option<String> ) -> Self
The DNS record for certificate verification.
sourcepub fn get_certificate_verification_dns_record(&self) -> &Option<String>
pub fn get_certificate_verification_dns_record(&self) -> &Option<String>
The DNS record for certificate verification.
sourcepub fn sub_domains(self, input: SubDomain) -> Self
pub fn sub_domains(self, input: SubDomain) -> Self
Appends an item to sub_domains.
To override the contents of this collection use set_sub_domains.
The subdomains for the domain association.
sourcepub fn set_sub_domains(self, input: Option<Vec<SubDomain>>) -> Self
pub fn set_sub_domains(self, input: Option<Vec<SubDomain>>) -> Self
The subdomains for the domain association.
sourcepub fn get_sub_domains(&self) -> &Option<Vec<SubDomain>>
pub fn get_sub_domains(&self) -> &Option<Vec<SubDomain>>
The subdomains for the domain association.
sourcepub fn build(self) -> Result<DomainAssociation, BuildError>
pub fn build(self) -> Result<DomainAssociation, BuildError>
Consumes the builder and constructs a DomainAssociation.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DomainAssociationBuilder
impl Clone for DomainAssociationBuilder
source§fn clone(&self) -> DomainAssociationBuilder
fn clone(&self) -> DomainAssociationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DomainAssociationBuilder
impl Debug for DomainAssociationBuilder
source§impl Default for DomainAssociationBuilder
impl Default for DomainAssociationBuilder
source§fn default() -> DomainAssociationBuilder
fn default() -> DomainAssociationBuilder
source§impl PartialEq for DomainAssociationBuilder
impl PartialEq for DomainAssociationBuilder
source§fn eq(&self, other: &DomainAssociationBuilder) -> bool
fn eq(&self, other: &DomainAssociationBuilder) -> bool
self and other values to be equal, and is used
by ==.