#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateFileSystemOntapConfiguration
Implementations
sourceimpl Builder
impl Builder
sourcepub fn automatic_backup_retention_days(self, input: i32) -> Self
pub fn automatic_backup_retention_days(self, input: i32) -> Self
The number of days to retain automatic backups. Setting this property to 0
disables automatic backups. You can retain automatic backups for a maximum of 90 days. The default is 0
.
sourcepub fn set_automatic_backup_retention_days(self, input: Option<i32>) -> Self
pub fn set_automatic_backup_retention_days(self, input: Option<i32>) -> Self
The number of days to retain automatic backups. Setting this property to 0
disables automatic backups. You can retain automatic backups for a maximum of 90 days. The default is 0
.
sourcepub fn daily_automatic_backup_start_time(self, input: impl Into<String>) -> Self
pub fn daily_automatic_backup_start_time(self, input: impl Into<String>) -> Self
A recurring daily time, in the format HH:MM
. HH
is the zero-padded hour of the day (0-23), and MM
is the zero-padded minute of the hour. For example, 05:00
specifies 5 AM daily.
sourcepub fn set_daily_automatic_backup_start_time(
self,
input: Option<String>
) -> Self
pub fn set_daily_automatic_backup_start_time(
self,
input: Option<String>
) -> Self
A recurring daily time, in the format HH:MM
. HH
is the zero-padded hour of the day (0-23), and MM
is the zero-padded minute of the hour. For example, 05:00
specifies 5 AM daily.
sourcepub fn fsx_admin_password(self, input: impl Into<String>) -> Self
pub fn fsx_admin_password(self, input: impl Into<String>) -> Self
The ONTAP administrative password for the fsxadmin
user.
sourcepub fn set_fsx_admin_password(self, input: Option<String>) -> Self
pub fn set_fsx_admin_password(self, input: Option<String>) -> Self
The ONTAP administrative password for the fsxadmin
user.
sourcepub fn weekly_maintenance_start_time(self, input: impl Into<String>) -> Self
pub fn weekly_maintenance_start_time(self, input: impl Into<String>) -> Self
A recurring weekly time, in the format D:HH:MM
.
D
is the day of the week, for which 1 represents Monday and 7 represents Sunday. For further details, see the ISO-8601 spec as described on Wikipedia.
HH
is the zero-padded hour of the day (0-23), and MM
is the zero-padded minute of the hour.
For example, 1:05:00
specifies maintenance at 5 AM Monday.
sourcepub fn set_weekly_maintenance_start_time(self, input: Option<String>) -> Self
pub fn set_weekly_maintenance_start_time(self, input: Option<String>) -> Self
A recurring weekly time, in the format D:HH:MM
.
D
is the day of the week, for which 1 represents Monday and 7 represents Sunday. For further details, see the ISO-8601 spec as described on Wikipedia.
HH
is the zero-padded hour of the day (0-23), and MM
is the zero-padded minute of the hour.
For example, 1:05:00
specifies maintenance at 5 AM Monday.
sourcepub fn disk_iops_configuration(self, input: DiskIopsConfiguration) -> Self
pub fn disk_iops_configuration(self, input: DiskIopsConfiguration) -> Self
The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for NetApp ONTAP file system. The default is 3 IOPS per GB of storage capacity, but you can provision additional IOPS per GB of storage. The configuration consists of an IOPS mode (AUTOMATIC
or USER_PROVISIONED
), and in the case of USER_PROVISIONED
IOPS, the total number of SSD IOPS provisioned.
sourcepub fn set_disk_iops_configuration(
self,
input: Option<DiskIopsConfiguration>
) -> Self
pub fn set_disk_iops_configuration(
self,
input: Option<DiskIopsConfiguration>
) -> Self
The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for NetApp ONTAP file system. The default is 3 IOPS per GB of storage capacity, but you can provision additional IOPS per GB of storage. The configuration consists of an IOPS mode (AUTOMATIC
or USER_PROVISIONED
), and in the case of USER_PROVISIONED
IOPS, the total number of SSD IOPS provisioned.
sourcepub fn throughput_capacity(self, input: i32) -> Self
pub fn throughput_capacity(self, input: i32) -> Self
Specifies the throughput of an FSx for NetApp ONTAP file system, measured in megabytes per second (MBps). Valid values are 128, 256, 512, 1024, or 2048 MB/s.
sourcepub fn set_throughput_capacity(self, input: Option<i32>) -> Self
pub fn set_throughput_capacity(self, input: Option<i32>) -> Self
Specifies the throughput of an FSx for NetApp ONTAP file system, measured in megabytes per second (MBps). Valid values are 128, 256, 512, 1024, or 2048 MB/s.
sourcepub fn build(self) -> UpdateFileSystemOntapConfiguration
pub fn build(self) -> UpdateFileSystemOntapConfiguration
Consumes the builder and constructs a UpdateFileSystemOntapConfiguration
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> 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