Struct aws_sdk_sso::types::builders::AccountInfoBuilder
source · #[non_exhaustive]pub struct AccountInfoBuilder { /* private fields */ }
Expand description
A builder for AccountInfo
.
Implementations§
source§impl AccountInfoBuilder
impl AccountInfoBuilder
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The identifier of the AWS account that is assigned to the user.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The identifier of the AWS account that is assigned to the user.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The identifier of the AWS account that is assigned to the user.
sourcepub fn account_name(self, input: impl Into<String>) -> Self
pub fn account_name(self, input: impl Into<String>) -> Self
The display name of the AWS account that is assigned to the user.
sourcepub fn set_account_name(self, input: Option<String>) -> Self
pub fn set_account_name(self, input: Option<String>) -> Self
The display name of the AWS account that is assigned to the user.
sourcepub fn get_account_name(&self) -> &Option<String>
pub fn get_account_name(&self) -> &Option<String>
The display name of the AWS account that is assigned to the user.
sourcepub fn email_address(self, input: impl Into<String>) -> Self
pub fn email_address(self, input: impl Into<String>) -> Self
The email address of the AWS account that is assigned to the user.
sourcepub fn set_email_address(self, input: Option<String>) -> Self
pub fn set_email_address(self, input: Option<String>) -> Self
The email address of the AWS account that is assigned to the user.
sourcepub fn get_email_address(&self) -> &Option<String>
pub fn get_email_address(&self) -> &Option<String>
The email address of the AWS account that is assigned to the user.
sourcepub fn build(self) -> AccountInfo
pub fn build(self) -> AccountInfo
Consumes the builder and constructs a AccountInfo
.
Trait Implementations§
source§impl Clone for AccountInfoBuilder
impl Clone for AccountInfoBuilder
source§fn clone(&self) -> AccountInfoBuilder
fn clone(&self) -> AccountInfoBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AccountInfoBuilder
impl Debug for AccountInfoBuilder
source§impl Default for AccountInfoBuilder
impl Default for AccountInfoBuilder
source§fn default() -> AccountInfoBuilder
fn default() -> AccountInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AccountInfoBuilder
impl PartialEq for AccountInfoBuilder
impl StructuralPartialEq for AccountInfoBuilder
Auto Trait Implementations§
impl Freeze for AccountInfoBuilder
impl RefUnwindSafe for AccountInfoBuilder
impl Send for AccountInfoBuilder
impl Sync for AccountInfoBuilder
impl Unpin for AccountInfoBuilder
impl UnwindSafe for AccountInfoBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.