Struct aws_sdk_storagegateway::input::refresh_cache_input::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for RefreshCacheInput
Implementations
sourceimpl Builder
impl Builder
The Amazon Resource Name (ARN) of the file share you want to refresh.
The Amazon Resource Name (ARN) of the file share you want to refresh.
sourcepub fn folder_list(self, input: impl Into<String>) -> Self
pub fn folder_list(self, input: impl Into<String>) -> Self
Appends an item to folder_list
.
To override the contents of this collection use set_folder_list
.
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 set_folder_list(self, input: Option<Vec<String>>) -> Self
pub fn set_folder_list(self, input: Option<Vec<String>>) -> Self
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, input: bool) -> Self
pub fn recursive(self, input: bool) -> Self
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
sourcepub fn set_recursive(self, input: Option<bool>) -> Self
pub fn set_recursive(self, input: Option<bool>) -> Self
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
sourcepub fn build(self) -> Result<RefreshCacheInput, BuildError>
pub fn build(self) -> Result<RefreshCacheInput, BuildError>
Consumes the builder and constructs a RefreshCacheInput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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