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