Struct aws_sdk_cloudfront::operation::delete_distribution::builders::DeleteDistributionInputBuilder
source · #[non_exhaustive]pub struct DeleteDistributionInputBuilder { /* private fields */ }
Expand description
A builder for DeleteDistributionInput
.
Implementations§
source§impl DeleteDistributionInputBuilder
impl DeleteDistributionInputBuilder
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 you disabled the distribution. 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 you disabled the distribution. For example: E2QWRUHAPOMQZL
.
sourcepub fn build(self) -> Result<DeleteDistributionInput, BuildError>
pub fn build(self) -> Result<DeleteDistributionInput, BuildError>
Consumes the builder and constructs a DeleteDistributionInput
.
Trait Implementations§
source§impl Clone for DeleteDistributionInputBuilder
impl Clone for DeleteDistributionInputBuilder
source§fn clone(&self) -> DeleteDistributionInputBuilder
fn clone(&self) -> DeleteDistributionInputBuilder
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 DeleteDistributionInputBuilder
impl Default for DeleteDistributionInputBuilder
source§fn default() -> DeleteDistributionInputBuilder
fn default() -> DeleteDistributionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DeleteDistributionInputBuilder> for DeleteDistributionInputBuilder
impl PartialEq<DeleteDistributionInputBuilder> for DeleteDistributionInputBuilder
source§fn eq(&self, other: &DeleteDistributionInputBuilder) -> bool
fn eq(&self, other: &DeleteDistributionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.