pub struct Builder { /* private fields */ }
Expand description
Builder for ImdsRegionProvider
Implementations
sourceimpl 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 !RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl !UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more