Struct aws_sdk_cloudfront::operation::get_distribution::builders::GetDistributionOutputBuilder
source · #[non_exhaustive]pub struct GetDistributionOutputBuilder { /* private fields */ }
Expand description
A builder for GetDistributionOutput
.
Implementations§
source§impl GetDistributionOutputBuilder
impl GetDistributionOutputBuilder
sourcepub fn distribution(self, input: Distribution) -> Self
pub fn distribution(self, input: Distribution) -> Self
The distribution's information.
sourcepub fn set_distribution(self, input: Option<Distribution>) -> Self
pub fn set_distribution(self, input: Option<Distribution>) -> Self
The distribution's information.
sourcepub fn get_distribution(&self) -> &Option<Distribution>
pub fn get_distribution(&self) -> &Option<Distribution>
The distribution's information.
sourcepub fn e_tag(self, input: impl Into<String>) -> Self
pub fn e_tag(self, input: impl Into<String>) -> Self
The current version of the distribution's information. For example: E2QWRUHAPOMQZL
.
sourcepub fn set_e_tag(self, input: Option<String>) -> Self
pub fn set_e_tag(self, input: Option<String>) -> Self
The current version of the distribution's information. For example: E2QWRUHAPOMQZL
.
sourcepub fn get_e_tag(&self) -> &Option<String>
pub fn get_e_tag(&self) -> &Option<String>
The current version of the distribution's information. For example: E2QWRUHAPOMQZL
.
sourcepub fn build(self) -> GetDistributionOutput
pub fn build(self) -> GetDistributionOutput
Consumes the builder and constructs a GetDistributionOutput
.
Trait Implementations§
source§impl Clone for GetDistributionOutputBuilder
impl Clone for GetDistributionOutputBuilder
source§fn clone(&self) -> GetDistributionOutputBuilder
fn clone(&self) -> GetDistributionOutputBuilder
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 GetDistributionOutputBuilder
impl Debug for GetDistributionOutputBuilder
source§impl Default for GetDistributionOutputBuilder
impl Default for GetDistributionOutputBuilder
source§fn default() -> GetDistributionOutputBuilder
fn default() -> GetDistributionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetDistributionOutputBuilder
impl PartialEq for GetDistributionOutputBuilder
source§fn eq(&self, other: &GetDistributionOutputBuilder) -> bool
fn eq(&self, other: &GetDistributionOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetDistributionOutputBuilder
Auto Trait Implementations§
impl Freeze for GetDistributionOutputBuilder
impl RefUnwindSafe for GetDistributionOutputBuilder
impl Send for GetDistributionOutputBuilder
impl Sync for GetDistributionOutputBuilder
impl Unpin for GetDistributionOutputBuilder
impl UnwindSafe for GetDistributionOutputBuilder
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.