Struct aws_sdk_fsx::input::update_file_system_input::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for UpdateFileSystemInput
Implementations
sourceimpl Builder
impl Builder
sourcepub fn file_system_id(self, input: impl Into<String>) -> Self
pub fn file_system_id(self, input: impl Into<String>) -> Self
The ID of the file system that you are updating.
sourcepub fn set_file_system_id(self, input: Option<String>) -> Self
pub fn set_file_system_id(self, input: Option<String>) -> Self
The ID of the file system that you are updating.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent updates. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent updates. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
sourcepub fn storage_capacity(self, input: i32) -> Self
pub fn storage_capacity(self, input: i32) -> Self
Use this parameter to increase the storage capacity of an Amazon FSx for Windows File Server, Amazon FSx for Lustre, or Amazon FSx for NetApp ONTAP file system. Specifies the storage capacity target value, in GiB, to increase the storage capacity for the file system that you're updating.
You can't make a storage capacity increase request if there is an existing storage capacity increase request in progress.
For Windows file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. To increase storage capacity, the file system must have at least 16 MBps of throughput capacity. For more information, see Managing storage capacity in the Amazon FSx for Windows File Server User Guide.
For Lustre file systems, the storage capacity target value can be the following:
-
For
SCRATCH_2,PERSISTENT_1, andPERSISTENT_2 SSDdeployment types, valid values are in multiples of 2400 GiB. The value must be greater than the current storage capacity. -
For
PERSISTENT HDDfile systems, valid values are multiples of 6000 GiB for 12-MBps throughput per TiB file systems and multiples of 1800 GiB for 40-MBps throughput per TiB file systems. The values must be greater than the current storage capacity. -
For
SCRATCH_1file systems, you can't increase the storage capacity.
For more information, see Managing storage and throughput capacity in the Amazon FSx for Lustre User Guide.
For ONTAP file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. For more information, see Managing storage capacity and provisioned IOPS in the Amazon FSx for NetApp ONTAP User Guide.
sourcepub fn set_storage_capacity(self, input: Option<i32>) -> Self
pub fn set_storage_capacity(self, input: Option<i32>) -> Self
Use this parameter to increase the storage capacity of an Amazon FSx for Windows File Server, Amazon FSx for Lustre, or Amazon FSx for NetApp ONTAP file system. Specifies the storage capacity target value, in GiB, to increase the storage capacity for the file system that you're updating.
You can't make a storage capacity increase request if there is an existing storage capacity increase request in progress.
For Windows file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. To increase storage capacity, the file system must have at least 16 MBps of throughput capacity. For more information, see Managing storage capacity in the Amazon FSx for Windows File Server User Guide.
For Lustre file systems, the storage capacity target value can be the following:
-
For
SCRATCH_2,PERSISTENT_1, andPERSISTENT_2 SSDdeployment types, valid values are in multiples of 2400 GiB. The value must be greater than the current storage capacity. -
For
PERSISTENT HDDfile systems, valid values are multiples of 6000 GiB for 12-MBps throughput per TiB file systems and multiples of 1800 GiB for 40-MBps throughput per TiB file systems. The values must be greater than the current storage capacity. -
For
SCRATCH_1file systems, you can't increase the storage capacity.
For more information, see Managing storage and throughput capacity in the Amazon FSx for Lustre User Guide.
For ONTAP file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. For more information, see Managing storage capacity and provisioned IOPS in the Amazon FSx for NetApp ONTAP User Guide.
sourcepub fn windows_configuration(
self,
input: UpdateFileSystemWindowsConfiguration
) -> Self
pub fn windows_configuration(
self,
input: UpdateFileSystemWindowsConfiguration
) -> Self
The configuration updates for an Amazon FSx for Windows File Server file system.
sourcepub fn set_windows_configuration(
self,
input: Option<UpdateFileSystemWindowsConfiguration>
) -> Self
pub fn set_windows_configuration(
self,
input: Option<UpdateFileSystemWindowsConfiguration>
) -> Self
The configuration updates for an Amazon FSx for Windows File Server file system.
sourcepub fn lustre_configuration(
self,
input: UpdateFileSystemLustreConfiguration
) -> Self
pub fn lustre_configuration(
self,
input: UpdateFileSystemLustreConfiguration
) -> Self
The configuration object for Amazon FSx for Lustre file systems used in the UpdateFileSystem operation.
sourcepub fn set_lustre_configuration(
self,
input: Option<UpdateFileSystemLustreConfiguration>
) -> Self
pub fn set_lustre_configuration(
self,
input: Option<UpdateFileSystemLustreConfiguration>
) -> Self
The configuration object for Amazon FSx for Lustre file systems used in the UpdateFileSystem operation.
sourcepub fn ontap_configuration(
self,
input: UpdateFileSystemOntapConfiguration
) -> Self
pub fn ontap_configuration(
self,
input: UpdateFileSystemOntapConfiguration
) -> Self
The configuration updates for an Amazon FSx for NetApp ONTAP file system.
sourcepub fn set_ontap_configuration(
self,
input: Option<UpdateFileSystemOntapConfiguration>
) -> Self
pub fn set_ontap_configuration(
self,
input: Option<UpdateFileSystemOntapConfiguration>
) -> Self
The configuration updates for an Amazon FSx for NetApp ONTAP file system.
sourcepub fn open_zfs_configuration(
self,
input: UpdateFileSystemOpenZfsConfiguration
) -> Self
pub fn open_zfs_configuration(
self,
input: UpdateFileSystemOpenZfsConfiguration
) -> Self
The configuration updates for an Amazon FSx for OpenZFS file system.
sourcepub fn set_open_zfs_configuration(
self,
input: Option<UpdateFileSystemOpenZfsConfiguration>
) -> Self
pub fn set_open_zfs_configuration(
self,
input: Option<UpdateFileSystemOpenZfsConfiguration>
) -> Self
The configuration updates for an Amazon FSx for OpenZFS file system.
sourcepub fn build(self) -> Result<UpdateFileSystemInput, BuildError>
pub fn build(self) -> Result<UpdateFileSystemInput, BuildError>
Consumes the builder and constructs a UpdateFileSystemInput
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