Struct aws_sdk_cloudfront::operation::update_distribution::builders::UpdateDistributionInputBuilder
source · #[non_exhaustive]pub struct UpdateDistributionInputBuilder { /* private fields */ }
Expand description
A builder for UpdateDistributionInput
.
Implementations§
source§impl UpdateDistributionInputBuilder
impl UpdateDistributionInputBuilder
sourcepub fn distribution_config(self, input: DistributionConfig) -> Self
pub fn distribution_config(self, input: DistributionConfig) -> Self
The distribution's configuration information.
This field is required.sourcepub fn set_distribution_config(self, input: Option<DistributionConfig>) -> Self
pub fn set_distribution_config(self, input: Option<DistributionConfig>) -> Self
The distribution's configuration information.
sourcepub fn get_distribution_config(&self) -> &Option<DistributionConfig>
pub fn get_distribution_config(&self) -> &Option<DistributionConfig>
The distribution's configuration information.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The distribution's id.
This field is required.sourcepub fn if_match(self, input: impl Into<String>) -> Self
pub fn if_match(self, input: impl Into<String>) -> Self
The value of the ETag
header that you received when retrieving the distribution's configuration. For example: E2QWRUHAPOMQZL
.
sourcepub fn set_if_match(self, input: Option<String>) -> Self
pub fn set_if_match(self, input: Option<String>) -> Self
The value of the ETag
header that you received when retrieving the distribution's configuration. For example: E2QWRUHAPOMQZL
.
sourcepub fn get_if_match(&self) -> &Option<String>
pub fn get_if_match(&self) -> &Option<String>
The value of the ETag
header that you received when retrieving the distribution's configuration. For example: E2QWRUHAPOMQZL
.
sourcepub fn build(self) -> Result<UpdateDistributionInput, BuildError>
pub fn build(self) -> Result<UpdateDistributionInput, BuildError>
Consumes the builder and constructs a UpdateDistributionInput
.
source§impl UpdateDistributionInputBuilder
impl UpdateDistributionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateDistributionOutput, SdkError<UpdateDistributionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateDistributionOutput, SdkError<UpdateDistributionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateDistributionInputBuilder
impl Clone for UpdateDistributionInputBuilder
source§fn clone(&self) -> UpdateDistributionInputBuilder
fn clone(&self) -> UpdateDistributionInputBuilder
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 UpdateDistributionInputBuilder
impl Default for UpdateDistributionInputBuilder
source§fn default() -> UpdateDistributionInputBuilder
fn default() -> UpdateDistributionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateDistributionInputBuilder
impl PartialEq for UpdateDistributionInputBuilder
source§fn eq(&self, other: &UpdateDistributionInputBuilder) -> bool
fn eq(&self, other: &UpdateDistributionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateDistributionInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateDistributionInputBuilder
impl Send for UpdateDistributionInputBuilder
impl Sync for UpdateDistributionInputBuilder
impl Unpin for UpdateDistributionInputBuilder
impl UnwindSafe for UpdateDistributionInputBuilder
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.