pub struct QuotaStorageResourcesBuilder { /* private fields */ }
Expand description
Builder for QuotaStorageResources
.
Implementations§
Source§impl QuotaStorageResourcesBuilder
impl QuotaStorageResourcesBuilder
Sourcepub fn variables_mb(&mut self, value: i64) -> &mut Self
pub fn variables_mb(&mut self, value: i64) -> &mut Self
VariablesMB is the maximum total size of all variables Variable.EncryptedData, in megabytes (2^20 bytes). A value of zero is treated as unlimited and a negative value is treated as fully disallowed.
Sourcepub fn host_volumes_mb(&mut self, value: i64) -> &mut Self
pub fn host_volumes_mb(&mut self, value: i64) -> &mut Self
HostVolumesMB is the maximum provisioned size of all dynamic host volumes, in megabytes (2^20 bytes). A value of zero is treated as unlimited and a negative value is treated as fully disallowed.
Sourcepub fn build(
&self,
) -> Result<QuotaStorageResources, QuotaStorageResourcesBuilderError>
pub fn build( &self, ) -> Result<QuotaStorageResources, QuotaStorageResourcesBuilderError>
Trait Implementations§
Source§impl Clone for QuotaStorageResourcesBuilder
impl Clone for QuotaStorageResourcesBuilder
Source§fn clone(&self) -> QuotaStorageResourcesBuilder
fn clone(&self) -> QuotaStorageResourcesBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for QuotaStorageResourcesBuilder
impl RefUnwindSafe for QuotaStorageResourcesBuilder
impl Send for QuotaStorageResourcesBuilder
impl Sync for QuotaStorageResourcesBuilder
impl Unpin for QuotaStorageResourcesBuilder
impl UnwindSafe for QuotaStorageResourcesBuilder
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
Mutably borrows from an owned value. Read more