Struct aws_sdk_fsx::types::DeleteVolumeOntapConfiguration
source · #[non_exhaustive]pub struct DeleteVolumeOntapConfiguration {
pub skip_final_backup: Option<bool>,
pub final_backup_tags: Option<Vec<Tag>>,
pub bypass_snaplock_enterprise_retention: Option<bool>,
}
Expand description
Use to specify skipping a final backup, adding tags to a final backup, or bypassing the retention period of an FSx for ONTAP SnapLock Enterprise volume when deleting an FSx for ONTAP volume.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.skip_final_backup: Option<bool>
Set to true if you want to skip taking a final backup of the volume you are deleting.
A list of Tag
values, with a maximum of 50 elements.
bypass_snaplock_enterprise_retention: Option<bool>
Setting this to true
allows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. The IAM permission fsx:BypassSnaplockEnterpriseRetention
is also required to delete SnapLock Enterprise volumes with unexpired WORM files. The default value is false
.
For more information, see Deleting a SnapLock volume.
Implementations§
source§impl DeleteVolumeOntapConfiguration
impl DeleteVolumeOntapConfiguration
sourcepub fn skip_final_backup(&self) -> Option<bool>
pub fn skip_final_backup(&self) -> Option<bool>
Set to true if you want to skip taking a final backup of the volume you are deleting.
A list of Tag
values, with a maximum of 50 elements.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .final_backup_tags.is_none()
.
sourcepub fn bypass_snaplock_enterprise_retention(&self) -> Option<bool>
pub fn bypass_snaplock_enterprise_retention(&self) -> Option<bool>
Setting this to true
allows a SnapLock administrator to delete an FSx for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. The IAM permission fsx:BypassSnaplockEnterpriseRetention
is also required to delete SnapLock Enterprise volumes with unexpired WORM files. The default value is false
.
For more information, see Deleting a SnapLock volume.
source§impl DeleteVolumeOntapConfiguration
impl DeleteVolumeOntapConfiguration
sourcepub fn builder() -> DeleteVolumeOntapConfigurationBuilder
pub fn builder() -> DeleteVolumeOntapConfigurationBuilder
Creates a new builder-style object to manufacture DeleteVolumeOntapConfiguration
.
Trait Implementations§
source§impl Clone for DeleteVolumeOntapConfiguration
impl Clone for DeleteVolumeOntapConfiguration
source§fn clone(&self) -> DeleteVolumeOntapConfiguration
fn clone(&self) -> DeleteVolumeOntapConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DeleteVolumeOntapConfiguration
impl PartialEq for DeleteVolumeOntapConfiguration
source§fn eq(&self, other: &DeleteVolumeOntapConfiguration) -> bool
fn eq(&self, other: &DeleteVolumeOntapConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteVolumeOntapConfiguration
Auto Trait Implementations§
impl Freeze for DeleteVolumeOntapConfiguration
impl RefUnwindSafe for DeleteVolumeOntapConfiguration
impl Send for DeleteVolumeOntapConfiguration
impl Sync for DeleteVolumeOntapConfiguration
impl Unpin for DeleteVolumeOntapConfiguration
impl UnwindSafe for DeleteVolumeOntapConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more