Struct aws_sdk_cloudfront::operation::copy_distribution::builders::CopyDistributionOutputBuilder
source · #[non_exhaustive]pub struct CopyDistributionOutputBuilder { /* private fields */ }
Expand description
A builder for CopyDistributionOutput
.
Implementations§
source§impl CopyDistributionOutputBuilder
impl CopyDistributionOutputBuilder
sourcepub fn distribution(self, input: Distribution) -> Self
pub fn distribution(self, input: Distribution) -> Self
A distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery.
sourcepub fn set_distribution(self, input: Option<Distribution>) -> Self
pub fn set_distribution(self, input: Option<Distribution>) -> Self
A distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery.
sourcepub fn get_distribution(&self) -> &Option<Distribution>
pub fn get_distribution(&self) -> &Option<Distribution>
A distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery.
sourcepub fn set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
The URL of the staging distribution.
sourcepub fn get_location(&self) -> &Option<String>
pub fn get_location(&self) -> &Option<String>
The URL of the staging distribution.
sourcepub fn e_tag(self, input: impl Into<String>) -> Self
pub fn e_tag(self, input: impl Into<String>) -> Self
The version identifier for the current version of the staging distribution.
sourcepub fn set_e_tag(self, input: Option<String>) -> Self
pub fn set_e_tag(self, input: Option<String>) -> Self
The version identifier for the current version of the staging distribution.
sourcepub fn get_e_tag(&self) -> &Option<String>
pub fn get_e_tag(&self) -> &Option<String>
The version identifier for the current version of the staging distribution.
sourcepub fn build(self) -> CopyDistributionOutput
pub fn build(self) -> CopyDistributionOutput
Consumes the builder and constructs a CopyDistributionOutput
.
Trait Implementations§
source§impl Clone for CopyDistributionOutputBuilder
impl Clone for CopyDistributionOutputBuilder
source§fn clone(&self) -> CopyDistributionOutputBuilder
fn clone(&self) -> CopyDistributionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CopyDistributionOutputBuilder
impl Default for CopyDistributionOutputBuilder
source§fn default() -> CopyDistributionOutputBuilder
fn default() -> CopyDistributionOutputBuilder
source§impl PartialEq for CopyDistributionOutputBuilder
impl PartialEq for CopyDistributionOutputBuilder
source§fn eq(&self, other: &CopyDistributionOutputBuilder) -> bool
fn eq(&self, other: &CopyDistributionOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CopyDistributionOutputBuilder
Auto Trait Implementations§
impl Freeze for CopyDistributionOutputBuilder
impl RefUnwindSafe for CopyDistributionOutputBuilder
impl Send for CopyDistributionOutputBuilder
impl Sync for CopyDistributionOutputBuilder
impl Unpin for CopyDistributionOutputBuilder
impl UnwindSafe for CopyDistributionOutputBuilder
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
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>
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>
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 more