Struct aws_config::sso::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
Builder for SsoCredentialsProvider
Implementations
sourceimpl 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:
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