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 ==
.