#[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.
This field is required.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 get_target_distribution_id(&self) -> &Option<String>
pub fn get_target_distribution_id(&self) -> &Option<String>
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.
This field is required.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 get_alias(&self) -> &Option<String>
pub fn get_alias(&self) -> &Option<String>
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
.
source§impl AssociateAliasInputBuilder
impl AssociateAliasInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateAliasOutput, SdkError<AssociateAliasError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateAliasOutput, SdkError<AssociateAliasError, HttpResponse>>
Sends a request with this input using the given client.
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 for AssociateAliasInputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for AssociateAliasInputBuilder
Auto Trait Implementations§
impl Freeze for AssociateAliasInputBuilder
impl RefUnwindSafe for AssociateAliasInputBuilder
impl Send for AssociateAliasInputBuilder
impl Sync for AssociateAliasInputBuilder
impl Unpin for AssociateAliasInputBuilder
impl UnwindSafe for AssociateAliasInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.