#[non_exhaustive]pub struct GetBucketLocationOutputBuilder { /* private fields */ }
Expand description
A builder for GetBucketLocationOutput
.
Implementations§
source§impl GetBucketLocationOutputBuilder
impl GetBucketLocationOutputBuilder
sourcepub fn location_constraint(self, input: BucketLocationConstraint) -> Self
pub fn location_constraint(self, input: BucketLocationConstraint) -> Self
Specifies the Region where the bucket resides. For a list of all the Amazon S3 supported location constraints by Region, see Regions and Endpoints. Buckets in Region us-east-1
have a LocationConstraint of null
.
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 resides. For a list of all the Amazon S3 supported location constraints by Region, see Regions and Endpoints. Buckets in Region us-east-1
have a LocationConstraint of null
.
sourcepub fn get_location_constraint(&self) -> &Option<BucketLocationConstraint>
pub fn get_location_constraint(&self) -> &Option<BucketLocationConstraint>
Specifies the Region where the bucket resides. For a list of all the Amazon S3 supported location constraints by Region, see Regions and Endpoints. Buckets in Region us-east-1
have a LocationConstraint of null
.
sourcepub fn build(self) -> GetBucketLocationOutput
pub fn build(self) -> GetBucketLocationOutput
Consumes the builder and constructs a GetBucketLocationOutput
.
Trait Implementations§
source§impl Clone for GetBucketLocationOutputBuilder
impl Clone for GetBucketLocationOutputBuilder
source§fn clone(&self) -> GetBucketLocationOutputBuilder
fn clone(&self) -> GetBucketLocationOutputBuilder
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 GetBucketLocationOutputBuilder
impl Default for GetBucketLocationOutputBuilder
source§fn default() -> GetBucketLocationOutputBuilder
fn default() -> GetBucketLocationOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetBucketLocationOutputBuilder
impl PartialEq for GetBucketLocationOutputBuilder
source§fn eq(&self, other: &GetBucketLocationOutputBuilder) -> bool
fn eq(&self, other: &GetBucketLocationOutputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetBucketLocationOutputBuilder
Auto Trait Implementations§
impl Freeze for GetBucketLocationOutputBuilder
impl RefUnwindSafe for GetBucketLocationOutputBuilder
impl Send for GetBucketLocationOutputBuilder
impl Sync for GetBucketLocationOutputBuilder
impl Unpin for GetBucketLocationOutputBuilder
impl UnwindSafe for GetBucketLocationOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.