#[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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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.