Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::CreateBucketConfigurationBuilder
pub struct CreateBucketConfigurationBuilder { /* private fields */ }
Expand description
A builder for CreateBucketConfiguration
.
Implementations§
§impl CreateBucketConfigurationBuilder
impl CreateBucketConfigurationBuilder
pub fn location_constraint(
self,
input: BucketLocationConstraint
) -> CreateBucketConfigurationBuilder
pub fn location_constraint( self, input: BucketLocationConstraint ) -> CreateBucketConfigurationBuilder
Specifies the Region where the bucket will be created. If you don't specify a Region, the bucket is created in the US East (N. Virginia) Region (us-east-1).
pub fn set_location_constraint(
self,
input: Option<BucketLocationConstraint>
) -> CreateBucketConfigurationBuilder
pub fn set_location_constraint( self, input: Option<BucketLocationConstraint> ) -> CreateBucketConfigurationBuilder
Specifies the Region where the bucket will be created. If you don't specify a Region, the bucket is created in the US East (N. Virginia) Region (us-east-1).
pub fn get_location_constraint(&self) -> &Option<BucketLocationConstraint>
pub fn get_location_constraint(&self) -> &Option<BucketLocationConstraint>
Specifies the Region where the bucket will be created. If you don't specify a Region, the bucket is created in the US East (N. Virginia) Region (us-east-1).
pub fn build(self) -> CreateBucketConfiguration
pub fn build(self) -> CreateBucketConfiguration
Consumes the builder and constructs a CreateBucketConfiguration
.
Trait Implementations§
§impl Clone for CreateBucketConfigurationBuilder
impl Clone for CreateBucketConfigurationBuilder
§fn clone(&self) -> CreateBucketConfigurationBuilder
fn clone(&self) -> CreateBucketConfigurationBuilder
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 more§impl Debug for CreateBucketConfigurationBuilder
impl Debug for CreateBucketConfigurationBuilder
§impl Default for CreateBucketConfigurationBuilder
impl Default for CreateBucketConfigurationBuilder
§fn default() -> CreateBucketConfigurationBuilder
fn default() -> CreateBucketConfigurationBuilder
Returns the “default value” for a type. Read more
§impl PartialEq<CreateBucketConfigurationBuilder> for CreateBucketConfigurationBuilder
impl PartialEq<CreateBucketConfigurationBuilder> for CreateBucketConfigurationBuilder
§fn eq(&self, other: &CreateBucketConfigurationBuilder) -> bool
fn eq(&self, other: &CreateBucketConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateBucketConfigurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateBucketConfigurationBuilder
impl Send for CreateBucketConfigurationBuilder
impl Sync for CreateBucketConfigurationBuilder
impl Unpin for CreateBucketConfigurationBuilder
impl UnwindSafe for CreateBucketConfigurationBuilder
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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