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
sourceimpl 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)
sourceimpl CacheAttributes
impl CacheAttributes
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CacheAttributes
.
Trait Implementations
sourceimpl Clone for CacheAttributes
impl Clone for CacheAttributes
sourcefn clone(&self) -> CacheAttributes
fn clone(&self) -> CacheAttributes
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CacheAttributes
impl Debug for CacheAttributes
sourceimpl PartialEq<CacheAttributes> for CacheAttributes
impl PartialEq<CacheAttributes> for CacheAttributes
sourcefn eq(&self, other: &CacheAttributes) -> bool
fn eq(&self, other: &CacheAttributes) -> bool
impl StructuralPartialEq for CacheAttributes
Auto Trait Implementations
impl RefUnwindSafe for CacheAttributes
impl Send for CacheAttributes
impl Sync for CacheAttributes
impl Unpin for CacheAttributes
impl UnwindSafe for CacheAttributes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more