Struct aws_config::default_provider::region::Builder
source · pub struct Builder { /* private fields */ }
Expand description
Builder for DefaultRegionChain
Implementations§
source§impl Builder
impl Builder
sourcepub fn profile_name(self, name: &str) -> Self
pub fn profile_name(self, name: &str) -> Self
Override the profile name used by this provider
sourcepub fn build(self) -> DefaultRegionChain
pub fn build(self) -> DefaultRegionChain
Build a DefaultRegionChain
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl !UnwindSafe for Builder
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> 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.