Struct aws_sdk_apprunner::operation::associate_custom_domain::builders::AssociateCustomDomainOutputBuilder
source · #[non_exhaustive]pub struct AssociateCustomDomainOutputBuilder { /* private fields */ }
Expand description
A builder for AssociateCustomDomainOutput
.
Implementations§
source§impl AssociateCustomDomainOutputBuilder
impl AssociateCustomDomainOutputBuilder
sourcepub fn dns_target(self, input: impl Into<String>) -> Self
pub fn dns_target(self, input: impl Into<String>) -> Self
The App Runner subdomain of the App Runner service. The custom domain name is mapped to this target name.
This field is required.sourcepub fn set_dns_target(self, input: Option<String>) -> Self
pub fn set_dns_target(self, input: Option<String>) -> Self
The App Runner subdomain of the App Runner service. The custom domain name is mapped to this target name.
sourcepub fn get_dns_target(&self) -> &Option<String>
pub fn get_dns_target(&self) -> &Option<String>
The App Runner subdomain of the App Runner service. The custom domain name is mapped to this target name.
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 with which a custom domain name is associated.
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 with which a custom domain name is associated.
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 with which a custom domain name is associated.
sourcepub fn custom_domain(self, input: CustomDomain) -> Self
pub fn custom_domain(self, input: CustomDomain) -> Self
A description of the domain name that's being associated.
This field is required.sourcepub fn set_custom_domain(self, input: Option<CustomDomain>) -> Self
pub fn set_custom_domain(self, input: Option<CustomDomain>) -> Self
A description of the domain name that's being associated.
sourcepub fn get_custom_domain(&self) -> &Option<CustomDomain>
pub fn get_custom_domain(&self) -> &Option<CustomDomain>
A description of the domain name that's being associated.
sourcepub fn vpc_dns_targets(self, input: VpcDnsTarget) -> Self
pub fn vpc_dns_targets(self, input: VpcDnsTarget) -> Self
Appends an item to vpc_dns_targets
.
To override the contents of this collection use set_vpc_dns_targets
.
DNS Target records for the custom domains of this Amazon VPC.
sourcepub fn set_vpc_dns_targets(self, input: Option<Vec<VpcDnsTarget>>) -> Self
pub fn set_vpc_dns_targets(self, input: Option<Vec<VpcDnsTarget>>) -> Self
DNS Target records for the custom domains of this Amazon VPC.
sourcepub fn get_vpc_dns_targets(&self) -> &Option<Vec<VpcDnsTarget>>
pub fn get_vpc_dns_targets(&self) -> &Option<Vec<VpcDnsTarget>>
DNS Target records for the custom domains of this Amazon VPC.
sourcepub fn build(self) -> Result<AssociateCustomDomainOutput, BuildError>
pub fn build(self) -> Result<AssociateCustomDomainOutput, BuildError>
Consumes the builder and constructs a AssociateCustomDomainOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AssociateCustomDomainOutputBuilder
impl Clone for AssociateCustomDomainOutputBuilder
source§fn clone(&self) -> AssociateCustomDomainOutputBuilder
fn clone(&self) -> AssociateCustomDomainOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AssociateCustomDomainOutputBuilder
impl Default for AssociateCustomDomainOutputBuilder
source§fn default() -> AssociateCustomDomainOutputBuilder
fn default() -> AssociateCustomDomainOutputBuilder
source§impl PartialEq for AssociateCustomDomainOutputBuilder
impl PartialEq for AssociateCustomDomainOutputBuilder
source§fn eq(&self, other: &AssociateCustomDomainOutputBuilder) -> bool
fn eq(&self, other: &AssociateCustomDomainOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.