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 set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
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 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
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 Default for CopyDistributionOutputBuilder
impl Default for CopyDistributionOutputBuilder
source§fn default() -> CopyDistributionOutputBuilder
fn default() -> CopyDistributionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CopyDistributionOutputBuilder> for CopyDistributionOutputBuilder
impl PartialEq<CopyDistributionOutputBuilder> for CopyDistributionOutputBuilder
source§fn eq(&self, other: &CopyDistributionOutputBuilder) -> bool
fn eq(&self, other: &CopyDistributionOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CopyDistributionOutputBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more