Struct aws_sdk_datasync::types::builders::CapacityBuilder
source · #[non_exhaustive]pub struct CapacityBuilder { /* private fields */ }
Expand description
A builder for Capacity
.
Implementations§
source§impl CapacityBuilder
impl CapacityBuilder
sourcepub fn used(self, input: i64) -> Self
pub fn used(self, input: i64) -> Self
The amount of space that's being used in a storage system resource.
sourcepub fn set_used(self, input: Option<i64>) -> Self
pub fn set_used(self, input: Option<i64>) -> Self
The amount of space that's being used in a storage system resource.
sourcepub fn get_used(&self) -> &Option<i64>
pub fn get_used(&self) -> &Option<i64>
The amount of space that's being used in a storage system resource.
sourcepub fn provisioned(self, input: i64) -> Self
pub fn provisioned(self, input: i64) -> Self
The total amount of space available in a storage system resource.
sourcepub fn set_provisioned(self, input: Option<i64>) -> Self
pub fn set_provisioned(self, input: Option<i64>) -> Self
The total amount of space available in a storage system resource.
sourcepub fn get_provisioned(&self) -> &Option<i64>
pub fn get_provisioned(&self) -> &Option<i64>
The total amount of space available in a storage system resource.
sourcepub fn logical_used(self, input: i64) -> Self
pub fn logical_used(self, input: i64) -> Self
The amount of space that's being used in a storage system resource without accounting for compression or deduplication.
sourcepub fn set_logical_used(self, input: Option<i64>) -> Self
pub fn set_logical_used(self, input: Option<i64>) -> Self
The amount of space that's being used in a storage system resource without accounting for compression or deduplication.
sourcepub fn get_logical_used(&self) -> &Option<i64>
pub fn get_logical_used(&self) -> &Option<i64>
The amount of space that's being used in a storage system resource without accounting for compression or deduplication.
sourcepub fn cluster_cloud_storage_used(self, input: i64) -> Self
pub fn cluster_cloud_storage_used(self, input: i64) -> Self
The amount of space in the cluster that's in cloud storage (for example, if you're using data tiering).
sourcepub fn set_cluster_cloud_storage_used(self, input: Option<i64>) -> Self
pub fn set_cluster_cloud_storage_used(self, input: Option<i64>) -> Self
The amount of space in the cluster that's in cloud storage (for example, if you're using data tiering).
sourcepub fn get_cluster_cloud_storage_used(&self) -> &Option<i64>
pub fn get_cluster_cloud_storage_used(&self) -> &Option<i64>
The amount of space in the cluster that's in cloud storage (for example, if you're using data tiering).
Trait Implementations§
source§impl Clone for CapacityBuilder
impl Clone for CapacityBuilder
source§fn clone(&self) -> CapacityBuilder
fn clone(&self) -> CapacityBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CapacityBuilder
impl Debug for CapacityBuilder
source§impl Default for CapacityBuilder
impl Default for CapacityBuilder
source§fn default() -> CapacityBuilder
fn default() -> CapacityBuilder
source§impl PartialEq for CapacityBuilder
impl PartialEq for CapacityBuilder
impl StructuralPartialEq for CapacityBuilder
Auto Trait Implementations§
impl Freeze for CapacityBuilder
impl RefUnwindSafe for CapacityBuilder
impl Send for CapacityBuilder
impl Sync for CapacityBuilder
impl Unpin for CapacityBuilder
impl UnwindSafe for CapacityBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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