#[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 ==
.impl StructuralPartialEq for CreateBucketConfigurationBuilder
Auto Trait Implementations§
impl Freeze for CreateBucketConfigurationBuilder
impl RefUnwindSafe for CreateBucketConfigurationBuilder
impl Send for CreateBucketConfigurationBuilder
impl Sync for CreateBucketConfigurationBuilder
impl Unpin for CreateBucketConfigurationBuilder
impl UnwindSafe for CreateBucketConfigurationBuilder
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
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>
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>
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 more