Struct aws_sdk_nimble::types::VolumeConfiguration
source · #[non_exhaustive]pub struct VolumeConfiguration {
pub size: i32,
pub throughput: i32,
pub iops: i32,
}Expand description
Custom volume configuration for the root volumes that are attached to streaming sessions.
This parameter is only allowed when sessionPersistenceMode is ACTIVATED.
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.size: i32The size of the root volume that is attached to the streaming session. The root volume size is measured in GiBs.
throughput: i32The throughput to provision for the root volume that is attached to the streaming session. The throughput is measured in MiB/s.
iops: i32The number of I/O operations per second for the root volume that is attached to streaming session.
Implementations§
source§impl VolumeConfiguration
impl VolumeConfiguration
sourcepub fn size(&self) -> i32
pub fn size(&self) -> i32
The size of the root volume that is attached to the streaming session. The root volume size is measured in GiBs.
sourcepub fn throughput(&self) -> i32
pub fn throughput(&self) -> i32
The throughput to provision for the root volume that is attached to the streaming session. The throughput is measured in MiB/s.
source§impl VolumeConfiguration
impl VolumeConfiguration
sourcepub fn builder() -> VolumeConfigurationBuilder
pub fn builder() -> VolumeConfigurationBuilder
Creates a new builder-style object to manufacture VolumeConfiguration.
Trait Implementations§
source§impl Clone for VolumeConfiguration
impl Clone for VolumeConfiguration
source§fn clone(&self) -> VolumeConfiguration
fn clone(&self) -> VolumeConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VolumeConfiguration
impl Debug for VolumeConfiguration
source§impl PartialEq for VolumeConfiguration
impl PartialEq for VolumeConfiguration
source§fn eq(&self, other: &VolumeConfiguration) -> bool
fn eq(&self, other: &VolumeConfiguration) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for VolumeConfiguration
Auto Trait Implementations§
impl Freeze for VolumeConfiguration
impl RefUnwindSafe for VolumeConfiguration
impl Send for VolumeConfiguration
impl Sync for VolumeConfiguration
impl Unpin for VolumeConfiguration
impl UnwindSafe for VolumeConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more