#[non_exhaustive]pub struct TgwOnDeviceServiceConfigurationBuilder { /* private fields */ }
Expand description
A builder for TgwOnDeviceServiceConfiguration
.
Implementations§
source§impl TgwOnDeviceServiceConfigurationBuilder
impl TgwOnDeviceServiceConfigurationBuilder
sourcepub fn storage_limit(self, input: i32) -> Self
pub fn storage_limit(self, input: i32) -> Self
The maximum number of virtual tapes to store on one Snow Family device. Due to physical resource limitations, this value must be set to 80 for Snowball Edge.
sourcepub fn set_storage_limit(self, input: Option<i32>) -> Self
pub fn set_storage_limit(self, input: Option<i32>) -> Self
The maximum number of virtual tapes to store on one Snow Family device. Due to physical resource limitations, this value must be set to 80 for Snowball Edge.
sourcepub fn get_storage_limit(&self) -> &Option<i32>
pub fn get_storage_limit(&self) -> &Option<i32>
The maximum number of virtual tapes to store on one Snow Family device. Due to physical resource limitations, this value must be set to 80 for Snowball Edge.
sourcepub fn storage_unit(self, input: StorageUnit) -> Self
pub fn storage_unit(self, input: StorageUnit) -> Self
The scale unit of the virtual tapes on the device.
sourcepub fn set_storage_unit(self, input: Option<StorageUnit>) -> Self
pub fn set_storage_unit(self, input: Option<StorageUnit>) -> Self
The scale unit of the virtual tapes on the device.
sourcepub fn get_storage_unit(&self) -> &Option<StorageUnit>
pub fn get_storage_unit(&self) -> &Option<StorageUnit>
The scale unit of the virtual tapes on the device.
sourcepub fn build(self) -> TgwOnDeviceServiceConfiguration
pub fn build(self) -> TgwOnDeviceServiceConfiguration
Consumes the builder and constructs a TgwOnDeviceServiceConfiguration
.
Trait Implementations§
source§impl Clone for TgwOnDeviceServiceConfigurationBuilder
impl Clone for TgwOnDeviceServiceConfigurationBuilder
source§fn clone(&self) -> TgwOnDeviceServiceConfigurationBuilder
fn clone(&self) -> TgwOnDeviceServiceConfigurationBuilder
Returns a copy 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 moresource§impl Default for TgwOnDeviceServiceConfigurationBuilder
impl Default for TgwOnDeviceServiceConfigurationBuilder
source§fn default() -> TgwOnDeviceServiceConfigurationBuilder
fn default() -> TgwOnDeviceServiceConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TgwOnDeviceServiceConfigurationBuilder
impl PartialEq for TgwOnDeviceServiceConfigurationBuilder
source§fn eq(&self, other: &TgwOnDeviceServiceConfigurationBuilder) -> bool
fn eq(&self, other: &TgwOnDeviceServiceConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TgwOnDeviceServiceConfigurationBuilder
Auto Trait Implementations§
impl Freeze for TgwOnDeviceServiceConfigurationBuilder
impl RefUnwindSafe for TgwOnDeviceServiceConfigurationBuilder
impl Send for TgwOnDeviceServiceConfigurationBuilder
impl Sync for TgwOnDeviceServiceConfigurationBuilder
impl Unpin for TgwOnDeviceServiceConfigurationBuilder
impl UnwindSafe for TgwOnDeviceServiceConfigurationBuilder
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
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>
Creates a shared type from an unshared type.