Struct aws_sdk_storagegateway::model::cache_attributes::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for CacheAttributes
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn cache_stale_timeout_in_seconds(self, input: i32) -> Self
pub fn cache_stale_timeout_in_seconds(self, input: i32) -> Self
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)
sourcepub fn set_cache_stale_timeout_in_seconds(self, input: Option<i32>) -> Self
pub fn set_cache_stale_timeout_in_seconds(self, input: Option<i32>) -> Self
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)
sourcepub fn build(self) -> CacheAttributes
pub fn build(self) -> CacheAttributes
Consumes the builder and constructs a CacheAttributes
.