Struct aws_sdk_storagegateway::model::CacheAttributes
source · [−]Expand description
The refresh cache information for the file share or FSx file systems.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cache_stale_timeout_in_seconds: 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)
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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CacheAttributes) -> bool
fn ne(&self, other: &CacheAttributes) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more