Struct aws_config::sso::Builder
source · pub struct Builder { /* private fields */ }
Expand description
Builder for SsoCredentialsProvider
Implementations§
source§impl Builder
impl Builder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new builder for SsoCredentialsProvider
sourcepub fn configure(self, provider_config: &ProviderConfig) -> Self
pub fn configure(self, provider_config: &ProviderConfig) -> Self
Override the configuration used for this provider
sourcepub fn account_id(self, account_id: impl Into<String>) -> Self
pub fn account_id(self, account_id: impl Into<String>) -> Self
Set the account id used for SSO
sourcepub fn build(self) -> SsoCredentialsProvider
pub fn build(self) -> SsoCredentialsProvider
Construct an SsoCredentialsProvider from the builder
Panics
This method will panic if the any of the following required fields are unset: