Struct aws_sdk_rds::types::ValidStorageOptions
source · #[non_exhaustive]pub struct ValidStorageOptions {
pub storage_type: Option<String>,
pub storage_size: Option<Vec<Range>>,
pub provisioned_iops: Option<Vec<Range>>,
pub iops_to_storage_ratio: Option<Vec<DoubleRange>>,
pub supports_storage_autoscaling: Option<bool>,
pub provisioned_storage_throughput: Option<Vec<Range>>,
pub storage_throughput_to_iops_ratio: Option<Vec<DoubleRange>>,
}
Expand description
Information about valid modifications that you can make to your DB instance. Contains the result of a successful call to the DescribeValidDBInstanceModifications
action.
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.storage_type: Option<String>
The valid storage types for your DB instance. For example: gp2, gp3, io1.
storage_size: Option<Vec<Range>>
The valid range of storage in gibibytes (GiB). For example, 100 to 16,384.
provisioned_iops: Option<Vec<Range>>
The valid range of provisioned IOPS. For example, 1000-256,000.
iops_to_storage_ratio: Option<Vec<DoubleRange>>
The valid range of Provisioned IOPS to gibibytes of storage multiplier. For example, 3-10, which means that provisioned IOPS can be between 3 and 10 times storage.
supports_storage_autoscaling: Option<bool>
Indicates whether or not Amazon RDS can automatically scale storage for DB instances that use the new instance class.
provisioned_storage_throughput: Option<Vec<Range>>
The valid range of provisioned storage throughput. For example, 500-4,000 mebibytes per second (MiBps).
storage_throughput_to_iops_ratio: Option<Vec<DoubleRange>>
The valid range of storage throughput to provisioned IOPS ratios. For example, 0-0.25.
Implementations§
source§impl ValidStorageOptions
impl ValidStorageOptions
sourcepub fn storage_type(&self) -> Option<&str>
pub fn storage_type(&self) -> Option<&str>
The valid storage types for your DB instance. For example: gp2, gp3, io1.
sourcepub fn storage_size(&self) -> &[Range]
pub fn storage_size(&self) -> &[Range]
The valid range of storage in gibibytes (GiB). For example, 100 to 16,384.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .storage_size.is_none()
.
sourcepub fn provisioned_iops(&self) -> &[Range]
pub fn provisioned_iops(&self) -> &[Range]
The valid range of provisioned IOPS. For example, 1000-256,000.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .provisioned_iops.is_none()
.
sourcepub fn iops_to_storage_ratio(&self) -> &[DoubleRange]
pub fn iops_to_storage_ratio(&self) -> &[DoubleRange]
The valid range of Provisioned IOPS to gibibytes of storage multiplier. For example, 3-10, which means that provisioned IOPS can be between 3 and 10 times storage.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .iops_to_storage_ratio.is_none()
.
sourcepub fn supports_storage_autoscaling(&self) -> Option<bool>
pub fn supports_storage_autoscaling(&self) -> Option<bool>
Indicates whether or not Amazon RDS can automatically scale storage for DB instances that use the new instance class.
sourcepub fn provisioned_storage_throughput(&self) -> &[Range]
pub fn provisioned_storage_throughput(&self) -> &[Range]
The valid range of provisioned storage throughput. For example, 500-4,000 mebibytes per second (MiBps).
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .provisioned_storage_throughput.is_none()
.
sourcepub fn storage_throughput_to_iops_ratio(&self) -> &[DoubleRange]
pub fn storage_throughput_to_iops_ratio(&self) -> &[DoubleRange]
The valid range of storage throughput to provisioned IOPS ratios. For example, 0-0.25.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .storage_throughput_to_iops_ratio.is_none()
.
source§impl ValidStorageOptions
impl ValidStorageOptions
sourcepub fn builder() -> ValidStorageOptionsBuilder
pub fn builder() -> ValidStorageOptionsBuilder
Creates a new builder-style object to manufacture ValidStorageOptions
.
Trait Implementations§
source§impl Clone for ValidStorageOptions
impl Clone for ValidStorageOptions
source§fn clone(&self) -> ValidStorageOptions
fn clone(&self) -> ValidStorageOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ValidStorageOptions
impl Debug for ValidStorageOptions
source§impl PartialEq for ValidStorageOptions
impl PartialEq for ValidStorageOptions
source§fn eq(&self, other: &ValidStorageOptions) -> bool
fn eq(&self, other: &ValidStorageOptions) -> bool
self
and other
values to be equal, and is used
by ==
.