#[non_exhaustive]pub struct CreateBucketConfigurationBuilder { /* private fields */ }
Expand description
A builder for CreateBucketConfiguration
.
Implementations§
source§impl CreateBucketConfigurationBuilder
impl CreateBucketConfigurationBuilder
sourcepub fn location_constraint(self, input: BucketLocationConstraint) -> Self
pub fn location_constraint(self, input: BucketLocationConstraint) -> Self
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).
sourcepub fn set_location_constraint(
self,
input: Option<BucketLocationConstraint>
) -> Self
pub fn set_location_constraint( self, input: Option<BucketLocationConstraint> ) -> Self
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).
sourcepub fn build(self) -> CreateBucketConfiguration
pub fn build(self) -> CreateBucketConfiguration
Consumes the builder and constructs a CreateBucketConfiguration
.
Trait Implementations§
source§impl Clone for CreateBucketConfigurationBuilder
impl Clone for CreateBucketConfigurationBuilder
source§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 moresource§impl Default for CreateBucketConfigurationBuilder
impl Default for CreateBucketConfigurationBuilder
source§fn default() -> CreateBucketConfigurationBuilder
fn default() -> CreateBucketConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateBucketConfigurationBuilder> for CreateBucketConfigurationBuilder
impl PartialEq<CreateBucketConfigurationBuilder> for CreateBucketConfigurationBuilder
source§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 ==
.