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.
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 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 build(self) -> Result<UpdateDistributionInput, BuildError>
pub fn build(self) -> Result<UpdateDistributionInput, BuildError>
Consumes the builder and constructs a UpdateDistributionInput
.
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<UpdateDistributionInputBuilder> for UpdateDistributionInputBuilder
impl PartialEq<UpdateDistributionInputBuilder> 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 ==
.