#[non_exhaustive]pub struct RefreshCacheInput {
pub file_share_arn: Option<String>,
pub folder_list: Option<Vec<String>>,
pub recursive: Option<bool>,
}Expand description
RefreshCacheInput
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.The Amazon Resource Name (ARN) of the file share you want to refresh.
folder_list: Option<Vec<String>>A comma-separated list of the paths of folders to refresh in the cache. The default is ["/"]. The default refreshes objects and folders at the root of the Amazon S3 bucket. If Recursive is set to true, the entire S3 bucket that the file share has access to is refreshed.
recursive: Option<bool>A value that specifies whether to recursively refresh folders in the cache. The refresh includes folders that were in the cache the last time the gateway listed the folder's contents. If this value set to true, each folder that is listed in FolderList is recursively updated. Otherwise, subfolders listed in FolderList are not refreshed. Only objects that are in folders listed directly under FolderList are found and used for the update. The default is true.
Valid Values: true | false
Implementations§
source§impl RefreshCacheInput
impl RefreshCacheInput
The Amazon Resource Name (ARN) of the file share you want to refresh.
sourcepub fn folder_list(&self) -> &[String]
pub fn folder_list(&self) -> &[String]
A comma-separated list of the paths of folders to refresh in the cache. The default is ["/"]. The default refreshes objects and folders at the root of the Amazon S3 bucket. If Recursive is set to true, the entire S3 bucket that the file share has access to is refreshed.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .folder_list.is_none().
sourcepub fn recursive(&self) -> Option<bool>
pub fn recursive(&self) -> Option<bool>
A value that specifies whether to recursively refresh folders in the cache. The refresh includes folders that were in the cache the last time the gateway listed the folder's contents. If this value set to true, each folder that is listed in FolderList is recursively updated. Otherwise, subfolders listed in FolderList are not refreshed. Only objects that are in folders listed directly under FolderList are found and used for the update. The default is true.
Valid Values: true | false
source§impl RefreshCacheInput
impl RefreshCacheInput
sourcepub fn builder() -> RefreshCacheInputBuilder
pub fn builder() -> RefreshCacheInputBuilder
Creates a new builder-style object to manufacture RefreshCacheInput.
Trait Implementations§
source§impl Clone for RefreshCacheInput
impl Clone for RefreshCacheInput
source§fn clone(&self) -> RefreshCacheInput
fn clone(&self) -> RefreshCacheInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RefreshCacheInput
impl Debug for RefreshCacheInput
source§impl PartialEq for RefreshCacheInput
impl PartialEq for RefreshCacheInput
source§fn eq(&self, other: &RefreshCacheInput) -> bool
fn eq(&self, other: &RefreshCacheInput) -> bool
self and other values to be equal, and is used
by ==.