Struct aws_sdk_sagemaker::model::RetentionPolicy
source · #[non_exhaustive]pub struct RetentionPolicy { /* private fields */ }
Expand description
The retention policy for data stored on an Amazon Elastic File System (EFS) volume.
Implementations§
source§impl RetentionPolicy
impl RetentionPolicy
sourcepub fn home_efs_file_system(&self) -> Option<&RetentionType>
pub fn home_efs_file_system(&self) -> Option<&RetentionType>
The default is Retain
, which specifies to keep the data stored on the EFS volume.
Specify Delete
to delete the data stored on the EFS volume.
source§impl RetentionPolicy
impl RetentionPolicy
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RetentionPolicy
.
Trait Implementations§
source§impl Clone for RetentionPolicy
impl Clone for RetentionPolicy
source§fn clone(&self) -> RetentionPolicy
fn clone(&self) -> RetentionPolicy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RetentionPolicy
impl Debug for RetentionPolicy
source§impl PartialEq<RetentionPolicy> for RetentionPolicy
impl PartialEq<RetentionPolicy> for RetentionPolicy
source§fn eq(&self, other: &RetentionPolicy) -> bool
fn eq(&self, other: &RetentionPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.