Struct aws_sdk_cloudfront::operation::create_distribution::builders::CreateDistributionOutputBuilder
source · #[non_exhaustive]pub struct CreateDistributionOutputBuilder { /* private fields */ }
Expand description
A builder for CreateDistributionOutput
.
Implementations§
source§impl CreateDistributionOutputBuilder
impl CreateDistributionOutputBuilder
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 location(self, input: impl Into<String>) -> Self
pub fn location(self, input: impl Into<String>) -> Self
The fully qualified URI of the new distribution resource just created.
sourcepub fn set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
The fully qualified URI of the new distribution resource just created.
sourcepub fn get_location(&self) -> &Option<String>
pub fn get_location(&self) -> &Option<String>
The fully qualified URI of the new distribution resource just created.
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 created.
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 created.
sourcepub fn build(self) -> CreateDistributionOutput
pub fn build(self) -> CreateDistributionOutput
Consumes the builder and constructs a CreateDistributionOutput
.
Trait Implementations§
source§impl Clone for CreateDistributionOutputBuilder
impl Clone for CreateDistributionOutputBuilder
source§fn clone(&self) -> CreateDistributionOutputBuilder
fn clone(&self) -> CreateDistributionOutputBuilder
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 CreateDistributionOutputBuilder
impl Default for CreateDistributionOutputBuilder
source§fn default() -> CreateDistributionOutputBuilder
fn default() -> CreateDistributionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateDistributionOutputBuilder
impl PartialEq for CreateDistributionOutputBuilder
source§fn eq(&self, other: &CreateDistributionOutputBuilder) -> bool
fn eq(&self, other: &CreateDistributionOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateDistributionOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateDistributionOutputBuilder
impl Send for CreateDistributionOutputBuilder
impl Sync for CreateDistributionOutputBuilder
impl Unpin for CreateDistributionOutputBuilder
impl UnwindSafe for CreateDistributionOutputBuilder
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>
Creates a shared type from an unshared type.