Struct aws_sdk_appsync::model::CachingConfig
source · #[non_exhaustive]pub struct CachingConfig { /* private fields */ }
Expand description
The caching configuration for a resolver that has caching activated.
Implementations§
source§impl CachingConfig
impl CachingConfig
sourcepub fn ttl(&self) -> i64
pub fn ttl(&self) -> i64
The TTL in seconds for a resolver that has caching activated.
Valid values are 1–3,600 seconds.
sourcepub fn caching_keys(&self) -> Option<&[String]>
pub fn caching_keys(&self) -> Option<&[String]>
The caching keys for a resolver that has caching activated.
Valid values are entries from the $context.arguments
, $context.source
, and $context.identity
maps.
source§impl CachingConfig
impl CachingConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CachingConfig
.
Trait Implementations§
source§impl Clone for CachingConfig
impl Clone for CachingConfig
source§fn clone(&self) -> CachingConfig
fn clone(&self) -> CachingConfig
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 CachingConfig
impl Debug for CachingConfig
source§impl PartialEq<CachingConfig> for CachingConfig
impl PartialEq<CachingConfig> for CachingConfig
source§fn eq(&self, other: &CachingConfig) -> bool
fn eq(&self, other: &CachingConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.