#[non_exhaustive]pub struct UpdateCachePolicyInput {
pub cache_policy_config: Option<CachePolicyConfig>,
pub id: Option<String>,
pub if_match: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cache_policy_config: Option<CachePolicyConfig>
A cache policy configuration.
id: Option<String>
The unique identifier for the cache policy that you are updating. The identifier is returned in a cache behavior's CachePolicyId
field in the response to GetDistributionConfig
.
if_match: Option<String>
The version of the cache policy that you are updating. The version is returned in the cache policy's ETag
field in the response to GetCachePolicyConfig
.
Implementations§
source§impl UpdateCachePolicyInput
impl UpdateCachePolicyInput
sourcepub fn cache_policy_config(&self) -> Option<&CachePolicyConfig>
pub fn cache_policy_config(&self) -> Option<&CachePolicyConfig>
A cache policy configuration.
source§impl UpdateCachePolicyInput
impl UpdateCachePolicyInput
sourcepub fn builder() -> UpdateCachePolicyInputBuilder
pub fn builder() -> UpdateCachePolicyInputBuilder
Creates a new builder-style object to manufacture UpdateCachePolicyInput
.
Trait Implementations§
source§impl Clone for UpdateCachePolicyInput
impl Clone for UpdateCachePolicyInput
source§fn clone(&self) -> UpdateCachePolicyInput
fn clone(&self) -> UpdateCachePolicyInput
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 Debug for UpdateCachePolicyInput
impl Debug for UpdateCachePolicyInput
source§impl PartialEq for UpdateCachePolicyInput
impl PartialEq for UpdateCachePolicyInput
source§fn eq(&self, other: &UpdateCachePolicyInput) -> bool
fn eq(&self, other: &UpdateCachePolicyInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateCachePolicyInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateCachePolicyInput
impl Send for UpdateCachePolicyInput
impl Sync for UpdateCachePolicyInput
impl Unpin for UpdateCachePolicyInput
impl UnwindSafe for UpdateCachePolicyInput
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.