#[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 are creating a bucket on the US East (N. Virginia) Region (us-east-1), you do not need to specify the location.
This is not supported by Amazon S3 on Outposts buckets.
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 are creating a bucket on the US East (N. Virginia) Region (us-east-1), you do not need to specify the location.
This is not supported by Amazon S3 on Outposts buckets.
sourcepub 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 are creating a bucket on the US East (N. Virginia) Region (us-east-1), you do not need to specify the location.
This is not supported by Amazon S3 on Outposts buckets.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateBucketConfigurationBuilder
impl Default for CreateBucketConfigurationBuilder
source§fn default() -> CreateBucketConfigurationBuilder
fn default() -> CreateBucketConfigurationBuilder
source§impl PartialEq for CreateBucketConfigurationBuilder
impl PartialEq for CreateBucketConfigurationBuilder
source§fn eq(&self, other: &CreateBucketConfigurationBuilder) -> bool
fn eq(&self, other: &CreateBucketConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.