Struct aws_sdk_fsx::model::administrative_action::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for AdministrativeAction
Implementations
sourceimpl Builder
impl Builder
sourcepub fn administrative_action_type(self, input: AdministrativeActionType) -> Self
pub fn administrative_action_type(self, input: AdministrativeActionType) -> Self
Describes the type of administrative action, as follows:
-
FILE_SYSTEM_UPDATE
- A file system update administrative action initiated from the Amazon FSx console, API (UpdateFileSystem
), or CLI (update-file-system
). -
STORAGE_OPTIMIZATION
- After theFILE_SYSTEM_UPDATE
task to increase a file system's storage capacity has been completed successfully, aSTORAGE_OPTIMIZATION
task starts.-
For Windows and ONTAP, storage optimization is the process of migrating the file system data to newer larger disks.
-
For Lustre, storage optimization consists of rebalancing the data across the existing and newly added file servers.
You can track the storage-optimization progress using the
ProgressPercent
property. WhenSTORAGE_OPTIMIZATION
has been completed successfully, the parentFILE_SYSTEM_UPDATE
action status changes toCOMPLETED
. For more information, see Managing storage capacity in the Amazon FSx for Windows File Server User Guide, Managing storage and throughput capacity in the Amazon FSx for Lustre User Guide, and Managing storage capacity and provisioned IOPS in the Amazon FSx for NetApp ONTAP User Guide. -
-
FILE_SYSTEM_ALIAS_ASSOCIATION
- A file system update to associate a new Domain Name System (DNS) alias with the file system. For more information, see AssociateFileSystemAliases. -
FILE_SYSTEM_ALIAS_DISASSOCIATION
- A file system update to disassociate a DNS alias from the file system. For more information, see DisassociateFileSystemAliases. -
VOLUME_UPDATE
- A volume update to an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume initiated from the Amazon FSx console, API (UpdateVolume
), or CLI (update-volume
). -
SNAPSHOT_UPDATE
- A snapshot update to an Amazon FSx for OpenZFS volume initiated from the Amazon FSx console, API (UpdateSnapshot
), or CLI (update-snapshot
). -
RELEASE_NFS_V3_LOCKS
- Tracks the release of Network File System (NFS) V3 locks on an Amazon FSx for OpenZFS file system.
sourcepub fn set_administrative_action_type(
self,
input: Option<AdministrativeActionType>
) -> Self
pub fn set_administrative_action_type(
self,
input: Option<AdministrativeActionType>
) -> Self
Describes the type of administrative action, as follows:
-
FILE_SYSTEM_UPDATE
- A file system update administrative action initiated from the Amazon FSx console, API (UpdateFileSystem
), or CLI (update-file-system
). -
STORAGE_OPTIMIZATION
- After theFILE_SYSTEM_UPDATE
task to increase a file system's storage capacity has been completed successfully, aSTORAGE_OPTIMIZATION
task starts.-
For Windows and ONTAP, storage optimization is the process of migrating the file system data to newer larger disks.
-
For Lustre, storage optimization consists of rebalancing the data across the existing and newly added file servers.
You can track the storage-optimization progress using the
ProgressPercent
property. WhenSTORAGE_OPTIMIZATION
has been completed successfully, the parentFILE_SYSTEM_UPDATE
action status changes toCOMPLETED
. For more information, see Managing storage capacity in the Amazon FSx for Windows File Server User Guide, Managing storage and throughput capacity in the Amazon FSx for Lustre User Guide, and Managing storage capacity and provisioned IOPS in the Amazon FSx for NetApp ONTAP User Guide. -
-
FILE_SYSTEM_ALIAS_ASSOCIATION
- A file system update to associate a new Domain Name System (DNS) alias with the file system. For more information, see AssociateFileSystemAliases. -
FILE_SYSTEM_ALIAS_DISASSOCIATION
- A file system update to disassociate a DNS alias from the file system. For more information, see DisassociateFileSystemAliases. -
VOLUME_UPDATE
- A volume update to an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume initiated from the Amazon FSx console, API (UpdateVolume
), or CLI (update-volume
). -
SNAPSHOT_UPDATE
- A snapshot update to an Amazon FSx for OpenZFS volume initiated from the Amazon FSx console, API (UpdateSnapshot
), or CLI (update-snapshot
). -
RELEASE_NFS_V3_LOCKS
- Tracks the release of Network File System (NFS) V3 locks on an Amazon FSx for OpenZFS file system.
sourcepub fn progress_percent(self, input: i32) -> Self
pub fn progress_percent(self, input: i32) -> Self
The percentage-complete status of a STORAGE_OPTIMIZATION
administrative action. Does not apply to any other administrative action type.
sourcepub fn set_progress_percent(self, input: Option<i32>) -> Self
pub fn set_progress_percent(self, input: Option<i32>) -> Self
The percentage-complete status of a STORAGE_OPTIMIZATION
administrative action. Does not apply to any other administrative action type.
sourcepub fn request_time(self, input: DateTime) -> Self
pub fn request_time(self, input: DateTime) -> Self
The time that the administrative action request was received.
sourcepub fn set_request_time(self, input: Option<DateTime>) -> Self
pub fn set_request_time(self, input: Option<DateTime>) -> Self
The time that the administrative action request was received.
sourcepub fn status(self, input: Status) -> Self
pub fn status(self, input: Status) -> Self
Describes the status of the administrative action, as follows:
-
FAILED
- Amazon FSx failed to process the administrative action successfully. -
IN_PROGRESS
- Amazon FSx is processing the administrative action. -
PENDING
- Amazon FSx is waiting to process the administrative action. -
COMPLETED
- Amazon FSx has finished processing the administrative task. -
UPDATED_OPTIMIZING
- For a storage-capacity increase update, Amazon FSx has updated the file system with the new storage capacity, and is now performing the storage-optimization process.
sourcepub fn set_status(self, input: Option<Status>) -> Self
pub fn set_status(self, input: Option<Status>) -> Self
Describes the status of the administrative action, as follows:
-
FAILED
- Amazon FSx failed to process the administrative action successfully. -
IN_PROGRESS
- Amazon FSx is processing the administrative action. -
PENDING
- Amazon FSx is waiting to process the administrative action. -
COMPLETED
- Amazon FSx has finished processing the administrative task. -
UPDATED_OPTIMIZING
- For a storage-capacity increase update, Amazon FSx has updated the file system with the new storage capacity, and is now performing the storage-optimization process.
sourcepub fn target_file_system_values(self, input: FileSystem) -> Self
pub fn target_file_system_values(self, input: FileSystem) -> Self
Describes the target value for the administration action, provided in the UpdateFileSystem
operation. Returned for FILE_SYSTEM_UPDATE
administrative actions.
sourcepub fn set_target_file_system_values(self, input: Option<FileSystem>) -> Self
pub fn set_target_file_system_values(self, input: Option<FileSystem>) -> Self
Describes the target value for the administration action, provided in the UpdateFileSystem
operation. Returned for FILE_SYSTEM_UPDATE
administrative actions.
sourcepub fn failure_details(self, input: AdministrativeActionFailureDetails) -> Self
pub fn failure_details(self, input: AdministrativeActionFailureDetails) -> Self
Provides information about a failed administrative action.
sourcepub fn set_failure_details(
self,
input: Option<AdministrativeActionFailureDetails>
) -> Self
pub fn set_failure_details(
self,
input: Option<AdministrativeActionFailureDetails>
) -> Self
Provides information about a failed administrative action.
sourcepub fn target_volume_values(self, input: Volume) -> Self
pub fn target_volume_values(self, input: Volume) -> Self
Describes an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume.
sourcepub fn set_target_volume_values(self, input: Option<Volume>) -> Self
pub fn set_target_volume_values(self, input: Option<Volume>) -> Self
Describes an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume.
sourcepub fn target_snapshot_values(self, input: Snapshot) -> Self
pub fn target_snapshot_values(self, input: Snapshot) -> Self
A snapshot of an Amazon FSx for OpenZFS volume.
sourcepub fn set_target_snapshot_values(self, input: Option<Snapshot>) -> Self
pub fn set_target_snapshot_values(self, input: Option<Snapshot>) -> Self
A snapshot of an Amazon FSx for OpenZFS volume.
sourcepub fn build(self) -> AdministrativeAction
pub fn build(self) -> AdministrativeAction
Consumes the builder and constructs a AdministrativeAction
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more