#[non_exhaustive]pub struct DeleteFileSystemOpenZfsConfiguration {
pub skip_final_backup: Option<bool>,
pub final_backup_tags: Option<Vec<Tag>>,
pub options: Option<Vec<DeleteFileSystemOpenZfsOption>>,
}
Expand description
The configuration object for the Amazon FSx for OpenZFS file system used in the DeleteFileSystem
operation.
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>
By default, Amazon FSx for OpenZFS takes a final backup on your behalf when the DeleteFileSystem
operation is invoked. Doing this helps protect you from data loss, and we highly recommend taking the final backup. If you want to skip taking a final backup, set this value to true
.
A list of tags to apply to the file system's final backup.
options: Option<Vec<DeleteFileSystemOpenZfsOption>>
To delete a file system if there are child volumes present below the root volume, use the string DELETE_CHILD_VOLUMES_AND_SNAPSHOTS
. If your file system has child volumes and you don't use this option, the delete request will fail.
Implementations§
source§impl DeleteFileSystemOpenZfsConfiguration
impl DeleteFileSystemOpenZfsConfiguration
sourcepub fn skip_final_backup(&self) -> Option<bool>
pub fn skip_final_backup(&self) -> Option<bool>
By default, Amazon FSx for OpenZFS takes a final backup on your behalf when the DeleteFileSystem
operation is invoked. Doing this helps protect you from data loss, and we highly recommend taking the final backup. If you want to skip taking a final backup, set this value to true
.
A list of tags to apply to the file system's final backup.
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 options(&self) -> &[DeleteFileSystemOpenZfsOption]
pub fn options(&self) -> &[DeleteFileSystemOpenZfsOption]
To delete a file system if there are child volumes present below the root volume, use the string DELETE_CHILD_VOLUMES_AND_SNAPSHOTS
. If your file system has child volumes and you don't use this option, the delete request will fail.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .options.is_none()
.
source§impl DeleteFileSystemOpenZfsConfiguration
impl DeleteFileSystemOpenZfsConfiguration
sourcepub fn builder() -> DeleteFileSystemOpenZfsConfigurationBuilder
pub fn builder() -> DeleteFileSystemOpenZfsConfigurationBuilder
Creates a new builder-style object to manufacture DeleteFileSystemOpenZfsConfiguration
.
Trait Implementations§
source§impl Clone for DeleteFileSystemOpenZfsConfiguration
impl Clone for DeleteFileSystemOpenZfsConfiguration
source§fn clone(&self) -> DeleteFileSystemOpenZfsConfiguration
fn clone(&self) -> DeleteFileSystemOpenZfsConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DeleteFileSystemOpenZfsConfiguration
impl PartialEq for DeleteFileSystemOpenZfsConfiguration
source§fn eq(&self, other: &DeleteFileSystemOpenZfsConfiguration) -> bool
fn eq(&self, other: &DeleteFileSystemOpenZfsConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteFileSystemOpenZfsConfiguration
Auto Trait Implementations§
impl Freeze for DeleteFileSystemOpenZfsConfiguration
impl RefUnwindSafe for DeleteFileSystemOpenZfsConfiguration
impl Send for DeleteFileSystemOpenZfsConfiguration
impl Sync for DeleteFileSystemOpenZfsConfiguration
impl Unpin for DeleteFileSystemOpenZfsConfiguration
impl UnwindSafe for DeleteFileSystemOpenZfsConfiguration
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