Struct aws_sdk_storagegateway::input::RefreshCacheInput
source · [−]#[non_exhaustive]pub struct RefreshCacheInput { /* private fields */ }
Expand description
RefreshCacheInput
Implementations
sourceimpl RefreshCacheInput
impl RefreshCacheInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RefreshCache, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RefreshCache, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<RefreshCache
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RefreshCacheInput
.
sourceimpl RefreshCacheInput
impl RefreshCacheInput
The Amazon Resource Name (ARN) of the file share you want to refresh.
sourcepub fn folder_list(&self) -> Option<&[String]>
pub fn folder_list(&self) -> Option<&[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.
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
Trait Implementations
sourceimpl Clone for RefreshCacheInput
impl Clone for RefreshCacheInput
sourcefn clone(&self) -> RefreshCacheInput
fn clone(&self) -> RefreshCacheInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more