Struct aws_sdk_fsx::types::builders::DurationSinceLastAccessBuilder
source · #[non_exhaustive]pub struct DurationSinceLastAccessBuilder { /* private fields */ }
Expand description
A builder for DurationSinceLastAccess
.
Implementations§
source§impl DurationSinceLastAccessBuilder
impl DurationSinceLastAccessBuilder
sourcepub fn unit(self, input: Unit) -> Self
pub fn unit(self, input: Unit) -> Self
The unit of time used by the Value
parameter to determine if a file can be released, based on when it was last accessed. DAYS
is the only supported value. This is a required parameter.
sourcepub fn set_unit(self, input: Option<Unit>) -> Self
pub fn set_unit(self, input: Option<Unit>) -> Self
The unit of time used by the Value
parameter to determine if a file can be released, based on when it was last accessed. DAYS
is the only supported value. This is a required parameter.
sourcepub fn get_unit(&self) -> &Option<Unit>
pub fn get_unit(&self) -> &Option<Unit>
The unit of time used by the Value
parameter to determine if a file can be released, based on when it was last accessed. DAYS
is the only supported value. This is a required parameter.
sourcepub fn value(self, input: i64) -> Self
pub fn value(self, input: i64) -> Self
An integer that represents the minimum amount of time (in days) since a file was last accessed in the file system. Only exported files with a MAX(atime, ctime, mtime)
timestamp that is more than this amount of time in the past (relative to the task create time) will be released. The default of Value
is 0
. This is a required parameter.
If an exported file meets the last accessed time criteria, its file or directory path must also be specified in the Paths
parameter of the operation in order for the file to be released.
sourcepub fn set_value(self, input: Option<i64>) -> Self
pub fn set_value(self, input: Option<i64>) -> Self
An integer that represents the minimum amount of time (in days) since a file was last accessed in the file system. Only exported files with a MAX(atime, ctime, mtime)
timestamp that is more than this amount of time in the past (relative to the task create time) will be released. The default of Value
is 0
. This is a required parameter.
If an exported file meets the last accessed time criteria, its file or directory path must also be specified in the Paths
parameter of the operation in order for the file to be released.
sourcepub fn get_value(&self) -> &Option<i64>
pub fn get_value(&self) -> &Option<i64>
An integer that represents the minimum amount of time (in days) since a file was last accessed in the file system. Only exported files with a MAX(atime, ctime, mtime)
timestamp that is more than this amount of time in the past (relative to the task create time) will be released. The default of Value
is 0
. This is a required parameter.
If an exported file meets the last accessed time criteria, its file or directory path must also be specified in the Paths
parameter of the operation in order for the file to be released.
sourcepub fn build(self) -> DurationSinceLastAccess
pub fn build(self) -> DurationSinceLastAccess
Consumes the builder and constructs a DurationSinceLastAccess
.
Trait Implementations§
source§impl Clone for DurationSinceLastAccessBuilder
impl Clone for DurationSinceLastAccessBuilder
source§fn clone(&self) -> DurationSinceLastAccessBuilder
fn clone(&self) -> DurationSinceLastAccessBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DurationSinceLastAccessBuilder
impl Default for DurationSinceLastAccessBuilder
source§fn default() -> DurationSinceLastAccessBuilder
fn default() -> DurationSinceLastAccessBuilder
source§impl PartialEq for DurationSinceLastAccessBuilder
impl PartialEq for DurationSinceLastAccessBuilder
source§fn eq(&self, other: &DurationSinceLastAccessBuilder) -> bool
fn eq(&self, other: &DurationSinceLastAccessBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.