Struct aws_sdk_fsx::types::builders::DiskIopsConfigurationBuilder
source · #[non_exhaustive]pub struct DiskIopsConfigurationBuilder { /* private fields */ }Expand description
A builder for DiskIopsConfiguration.
Implementations§
source§impl DiskIopsConfigurationBuilder
impl DiskIopsConfigurationBuilder
sourcepub fn mode(self, input: DiskIopsConfigurationMode) -> Self
pub fn mode(self, input: DiskIopsConfigurationMode) -> Self
Specifies whether the file system is using the AUTOMATIC setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using a USER_PROVISIONED value.
sourcepub fn set_mode(self, input: Option<DiskIopsConfigurationMode>) -> Self
pub fn set_mode(self, input: Option<DiskIopsConfigurationMode>) -> Self
Specifies whether the file system is using the AUTOMATIC setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using a USER_PROVISIONED value.
sourcepub fn get_mode(&self) -> &Option<DiskIopsConfigurationMode>
pub fn get_mode(&self) -> &Option<DiskIopsConfigurationMode>
Specifies whether the file system is using the AUTOMATIC setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using a USER_PROVISIONED value.
sourcepub fn iops(self, input: i64) -> Self
pub fn iops(self, input: i64) -> Self
The total number of SSD IOPS provisioned for the file system.
The minimum and maximum values for this property depend on the value of HAPairs and StorageCapacity. The minimum value is calculated as StorageCapacity * 3 * HAPairs (3 IOPS per GB of StorageCapacity). The maximum value is calculated as 200,000 * HAPairs.
Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of Iops is outside of the minimum or maximum values.
sourcepub fn set_iops(self, input: Option<i64>) -> Self
pub fn set_iops(self, input: Option<i64>) -> Self
The total number of SSD IOPS provisioned for the file system.
The minimum and maximum values for this property depend on the value of HAPairs and StorageCapacity. The minimum value is calculated as StorageCapacity * 3 * HAPairs (3 IOPS per GB of StorageCapacity). The maximum value is calculated as 200,000 * HAPairs.
Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of Iops is outside of the minimum or maximum values.
sourcepub fn get_iops(&self) -> &Option<i64>
pub fn get_iops(&self) -> &Option<i64>
The total number of SSD IOPS provisioned for the file system.
The minimum and maximum values for this property depend on the value of HAPairs and StorageCapacity. The minimum value is calculated as StorageCapacity * 3 * HAPairs (3 IOPS per GB of StorageCapacity). The maximum value is calculated as 200,000 * HAPairs.
Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of Iops is outside of the minimum or maximum values.
sourcepub fn build(self) -> DiskIopsConfiguration
pub fn build(self) -> DiskIopsConfiguration
Consumes the builder and constructs a DiskIopsConfiguration.
Trait Implementations§
source§impl Clone for DiskIopsConfigurationBuilder
impl Clone for DiskIopsConfigurationBuilder
source§fn clone(&self) -> DiskIopsConfigurationBuilder
fn clone(&self) -> DiskIopsConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DiskIopsConfigurationBuilder
impl Debug for DiskIopsConfigurationBuilder
source§impl Default for DiskIopsConfigurationBuilder
impl Default for DiskIopsConfigurationBuilder
source§fn default() -> DiskIopsConfigurationBuilder
fn default() -> DiskIopsConfigurationBuilder
source§impl PartialEq for DiskIopsConfigurationBuilder
impl PartialEq for DiskIopsConfigurationBuilder
source§fn eq(&self, other: &DiskIopsConfigurationBuilder) -> bool
fn eq(&self, other: &DiskIopsConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.