#[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. Buckets with a LocationConstraint of EU reside in eu-west-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 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. Buckets with a LocationConstraint of EU reside in eu-west-1.
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. Buckets with a LocationConstraint of EU reside in eu-west-1.
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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GetBucketLocationOutputBuilder
impl Default for GetBucketLocationOutputBuilder
Source§fn default() -> GetBucketLocationOutputBuilder
fn default() -> GetBucketLocationOutputBuilder
Source§impl PartialEq for GetBucketLocationOutputBuilder
impl PartialEq for GetBucketLocationOutputBuilder
Source§fn eq(&self, other: &GetBucketLocationOutputBuilder) -> bool
fn eq(&self, other: &GetBucketLocationOutputBuilder) -> bool
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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