Struct aws_sdk_s3::types::builders::BucketInfoBuilder
source · #[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 Availability 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 Availability 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 Availability 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
source§fn eq(&self, other: &BucketInfoBuilder) -> bool
fn eq(&self, other: &BucketInfoBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BucketInfoBuilder
Auto Trait Implementations§
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> 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.