#[non_exhaustive]pub struct AssociateAliasInputBuilder { /* private fields */ }
Expand description
A builder for AssociateAliasInput
.
Implementations§
source§impl AssociateAliasInputBuilder
impl AssociateAliasInputBuilder
sourcepub fn target_distribution_id(self, input: impl Into<String>) -> Self
pub fn target_distribution_id(self, input: impl Into<String>) -> Self
The ID of the distribution that you're associating the alias with.
sourcepub fn set_target_distribution_id(self, input: Option<String>) -> Self
pub fn set_target_distribution_id(self, input: Option<String>) -> Self
The ID of the distribution that you're associating the alias with.
sourcepub fn alias(self, input: impl Into<String>) -> Self
pub fn alias(self, input: impl Into<String>) -> Self
The alias (also known as a CNAME) to add to the target distribution.
sourcepub fn set_alias(self, input: Option<String>) -> Self
pub fn set_alias(self, input: Option<String>) -> Self
The alias (also known as a CNAME) to add to the target distribution.
sourcepub fn build(self) -> Result<AssociateAliasInput, BuildError>
pub fn build(self) -> Result<AssociateAliasInput, BuildError>
Consumes the builder and constructs a AssociateAliasInput
.
Trait Implementations§
source§impl Clone for AssociateAliasInputBuilder
impl Clone for AssociateAliasInputBuilder
source§fn clone(&self) -> AssociateAliasInputBuilder
fn clone(&self) -> AssociateAliasInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AssociateAliasInputBuilder
impl Debug for AssociateAliasInputBuilder
source§impl Default for AssociateAliasInputBuilder
impl Default for AssociateAliasInputBuilder
source§fn default() -> AssociateAliasInputBuilder
fn default() -> AssociateAliasInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AssociateAliasInputBuilder> for AssociateAliasInputBuilder
impl PartialEq<AssociateAliasInputBuilder> for AssociateAliasInputBuilder
source§fn eq(&self, other: &AssociateAliasInputBuilder) -> bool
fn eq(&self, other: &AssociateAliasInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.