Struct aws_sdk_cloudfront::operation::get_cache_policy_config::builders::GetCachePolicyConfigOutputBuilder
source · #[non_exhaustive]pub struct GetCachePolicyConfigOutputBuilder { /* private fields */ }
Expand description
A builder for GetCachePolicyConfigOutput
.
Implementations§
source§impl GetCachePolicyConfigOutputBuilder
impl GetCachePolicyConfigOutputBuilder
sourcepub fn cache_policy_config(self, input: CachePolicyConfig) -> Self
pub fn cache_policy_config(self, input: CachePolicyConfig) -> Self
The cache policy configuration.
sourcepub fn set_cache_policy_config(self, input: Option<CachePolicyConfig>) -> Self
pub fn set_cache_policy_config(self, input: Option<CachePolicyConfig>) -> Self
The cache policy configuration.
sourcepub fn get_cache_policy_config(&self) -> &Option<CachePolicyConfig>
pub fn get_cache_policy_config(&self) -> &Option<CachePolicyConfig>
The cache policy configuration.
sourcepub fn build(self) -> GetCachePolicyConfigOutput
pub fn build(self) -> GetCachePolicyConfigOutput
Consumes the builder and constructs a GetCachePolicyConfigOutput
.
Trait Implementations§
source§impl Clone for GetCachePolicyConfigOutputBuilder
impl Clone for GetCachePolicyConfigOutputBuilder
source§fn clone(&self) -> GetCachePolicyConfigOutputBuilder
fn clone(&self) -> GetCachePolicyConfigOutputBuilder
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 GetCachePolicyConfigOutputBuilder
impl Default for GetCachePolicyConfigOutputBuilder
source§fn default() -> GetCachePolicyConfigOutputBuilder
fn default() -> GetCachePolicyConfigOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetCachePolicyConfigOutputBuilder
impl PartialEq for GetCachePolicyConfigOutputBuilder
source§fn eq(&self, other: &GetCachePolicyConfigOutputBuilder) -> bool
fn eq(&self, other: &GetCachePolicyConfigOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetCachePolicyConfigOutputBuilder
Auto Trait Implementations§
impl Freeze for GetCachePolicyConfigOutputBuilder
impl RefUnwindSafe for GetCachePolicyConfigOutputBuilder
impl Send for GetCachePolicyConfigOutputBuilder
impl Sync for GetCachePolicyConfigOutputBuilder
impl Unpin for GetCachePolicyConfigOutputBuilder
impl UnwindSafe for GetCachePolicyConfigOutputBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.