Struct aws_sdk_storagegateway::model::CacheAttributes
source · #[non_exhaustive]pub struct CacheAttributes { /* private fields */ }
Expand description
The refresh cache information for the file share or FSx file systems.
Implementations§
source§impl CacheAttributes
impl CacheAttributes
sourcepub fn cache_stale_timeout_in_seconds(&self) -> Option<i32>
pub fn cache_stale_timeout_in_seconds(&self) -> Option<i32>
Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of time since the last refresh after which access to the directory would cause the file gateway to first refresh that directory's contents from the Amazon S3 bucket or Amazon FSx file system. The TTL duration is in seconds.
Valid Values:0, 300 to 2,592,000 seconds (5 minutes to 30 days)
source§impl CacheAttributes
impl CacheAttributes
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CacheAttributes
.
Trait Implementations§
source§impl Clone for CacheAttributes
impl Clone for CacheAttributes
source§fn clone(&self) -> CacheAttributes
fn clone(&self) -> CacheAttributes
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 CacheAttributes
impl Debug for CacheAttributes
source§impl PartialEq<CacheAttributes> for CacheAttributes
impl PartialEq<CacheAttributes> for CacheAttributes
source§fn eq(&self, other: &CacheAttributes) -> bool
fn eq(&self, other: &CacheAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.