Struct aws_config::imds::region::Builder
source · pub struct Builder { /* private fields */ }
Expand description
Builder for ImdsRegionProvider
Implementations§
source§impl Builder
impl Builder
sourcepub fn configure(self, provider_config: &ProviderConfig) -> Self
pub fn configure(self, provider_config: &ProviderConfig) -> Self
Set configuration options of the Builder
sourcepub fn imds_client(self, imds_client: Client) -> Self
pub fn imds_client(self, imds_client: Client) -> Self
Override the IMDS client used to load the region
sourcepub fn build(self) -> ImdsRegionProvider
pub fn build(self) -> ImdsRegionProvider
Create an ImdsRegionProvider
from this builder
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Builder
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.