#[non_exhaustive]pub struct ReplicationConfigurationReplicatedDisk {
pub device_name: Option<String>,
pub is_boot_disk: Option<bool>,
pub staging_disk_type: Option<ReplicationConfigurationReplicatedDiskStagingDiskType>,
pub iops: i64,
pub throughput: i64,
pub optimized_staging_disk_type: Option<ReplicationConfigurationReplicatedDiskStagingDiskType>,
}
Expand description
The configuration of a disk of the Source Server to be replicated.
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.device_name: Option<String>
The name of the device.
is_boot_disk: Option<bool>
Whether to boot from this disk or not.
staging_disk_type: Option<ReplicationConfigurationReplicatedDiskStagingDiskType>
The Staging Disk EBS volume type to be used during replication.
iops: i64
The requested number of I/O operations per second (IOPS).
throughput: i64
The throughput to use for the EBS volume in MiB/s. This parameter is valid only for gp3 volumes.
optimized_staging_disk_type: Option<ReplicationConfigurationReplicatedDiskStagingDiskType>
The Staging Disk EBS volume type to be used during replication when stagingDiskType
is set to Auto. This is a read-only field.
Implementations§
source§impl ReplicationConfigurationReplicatedDisk
impl ReplicationConfigurationReplicatedDisk
sourcepub fn device_name(&self) -> Option<&str>
pub fn device_name(&self) -> Option<&str>
The name of the device.
sourcepub fn is_boot_disk(&self) -> Option<bool>
pub fn is_boot_disk(&self) -> Option<bool>
Whether to boot from this disk or not.
sourcepub fn staging_disk_type(
&self
) -> Option<&ReplicationConfigurationReplicatedDiskStagingDiskType>
pub fn staging_disk_type( &self ) -> Option<&ReplicationConfigurationReplicatedDiskStagingDiskType>
The Staging Disk EBS volume type to be used during replication.
sourcepub fn throughput(&self) -> i64
pub fn throughput(&self) -> i64
The throughput to use for the EBS volume in MiB/s. This parameter is valid only for gp3 volumes.
sourcepub fn optimized_staging_disk_type(
&self
) -> Option<&ReplicationConfigurationReplicatedDiskStagingDiskType>
pub fn optimized_staging_disk_type( &self ) -> Option<&ReplicationConfigurationReplicatedDiskStagingDiskType>
The Staging Disk EBS volume type to be used during replication when stagingDiskType
is set to Auto. This is a read-only field.
source§impl ReplicationConfigurationReplicatedDisk
impl ReplicationConfigurationReplicatedDisk
sourcepub fn builder() -> ReplicationConfigurationReplicatedDiskBuilder
pub fn builder() -> ReplicationConfigurationReplicatedDiskBuilder
Creates a new builder-style object to manufacture ReplicationConfigurationReplicatedDisk
.
Trait Implementations§
source§impl Clone for ReplicationConfigurationReplicatedDisk
impl Clone for ReplicationConfigurationReplicatedDisk
source§fn clone(&self) -> ReplicationConfigurationReplicatedDisk
fn clone(&self) -> ReplicationConfigurationReplicatedDisk
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ReplicationConfigurationReplicatedDisk
impl PartialEq for ReplicationConfigurationReplicatedDisk
source§fn eq(&self, other: &ReplicationConfigurationReplicatedDisk) -> bool
fn eq(&self, other: &ReplicationConfigurationReplicatedDisk) -> bool
self
and other
values to be equal, and is used
by ==
.