#[non_exhaustive]pub struct BucketInfoBuilder { /* private fields */ }
Expand description
A builder for BucketInfo
.
Implementations§
source§impl BucketInfoBuilder
impl BucketInfoBuilder
sourcepub fn data_redundancy(self, input: DataRedundancy) -> Self
pub fn data_redundancy(self, input: DataRedundancy) -> Self
The number of Zone (Availability Zone or Local Zone) that's used for redundancy for the bucket.
sourcepub fn set_data_redundancy(self, input: Option<DataRedundancy>) -> Self
pub fn set_data_redundancy(self, input: Option<DataRedundancy>) -> Self
The number of Zone (Availability Zone or Local Zone) that's used for redundancy for the bucket.
sourcepub fn get_data_redundancy(&self) -> &Option<DataRedundancy>
pub fn get_data_redundancy(&self) -> &Option<DataRedundancy>
The number of Zone (Availability Zone or Local Zone) that's used for redundancy for the bucket.
sourcepub fn type(self, input: BucketType) -> Self
pub fn type(self, input: BucketType) -> Self
The type of bucket.
sourcepub fn set_type(self, input: Option<BucketType>) -> Self
pub fn set_type(self, input: Option<BucketType>) -> Self
The type of bucket.
sourcepub fn get_type(&self) -> &Option<BucketType>
pub fn get_type(&self) -> &Option<BucketType>
The type of bucket.
sourcepub fn build(self) -> BucketInfo
pub fn build(self) -> BucketInfo
Consumes the builder and constructs a BucketInfo
.
Trait Implementations§
source§impl Clone for BucketInfoBuilder
impl Clone for BucketInfoBuilder
source§fn clone(&self) -> BucketInfoBuilder
fn clone(&self) -> BucketInfoBuilder
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 Debug for BucketInfoBuilder
impl Debug for BucketInfoBuilder
source§impl Default for BucketInfoBuilder
impl Default for BucketInfoBuilder
source§fn default() -> BucketInfoBuilder
fn default() -> BucketInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BucketInfoBuilder
impl PartialEq for BucketInfoBuilder
impl StructuralPartialEq for BucketInfoBuilder
Auto Trait Implementations§
impl Freeze for BucketInfoBuilder
impl RefUnwindSafe for BucketInfoBuilder
impl Send for BucketInfoBuilder
impl Sync for BucketInfoBuilder
impl Unpin for BucketInfoBuilder
impl UnwindSafe for BucketInfoBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.