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.
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<CapacityBuilder> for CapacityBuilder
impl PartialEq<CapacityBuilder> for CapacityBuilder
source§fn eq(&self, other: &CapacityBuilder) -> bool
fn eq(&self, other: &CapacityBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.