Struct aws_sdk_sagemaker::model::retention_policy::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for RetentionPolicy.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn home_efs_file_system(self, input: RetentionType) -> Self
pub fn home_efs_file_system(self, input: RetentionType) -> Self
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.
sourcepub fn set_home_efs_file_system(self, input: Option<RetentionType>) -> Self
pub fn set_home_efs_file_system(self, input: Option<RetentionType>) -> Self
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.
sourcepub fn build(self) -> RetentionPolicy
pub fn build(self) -> RetentionPolicy
Consumes the builder and constructs a RetentionPolicy.
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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