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 ==
.