#[non_exhaustive]pub struct RoleInfoBuilder { /* private fields */ }
Expand description
A builder for RoleInfo
.
Implementations§
Source§impl RoleInfoBuilder
impl RoleInfoBuilder
Sourcepub fn role_name(self, input: impl Into<String>) -> Self
pub fn role_name(self, input: impl Into<String>) -> Self
The friendly name of the role that is assigned to the user.
Sourcepub fn set_role_name(self, input: Option<String>) -> Self
pub fn set_role_name(self, input: Option<String>) -> Self
The friendly name of the role that is assigned to the user.
Sourcepub fn get_role_name(&self) -> &Option<String>
pub fn get_role_name(&self) -> &Option<String>
The friendly name of the role that is assigned to the user.
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 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 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 assigned to the user.
Trait Implementations§
Source§impl Clone for RoleInfoBuilder
impl Clone for RoleInfoBuilder
Source§fn clone(&self) -> RoleInfoBuilder
fn clone(&self) -> RoleInfoBuilder
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 RoleInfoBuilder
impl Debug for RoleInfoBuilder
Source§impl Default for RoleInfoBuilder
impl Default for RoleInfoBuilder
Source§fn default() -> RoleInfoBuilder
fn default() -> RoleInfoBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for RoleInfoBuilder
impl PartialEq for RoleInfoBuilder
impl StructuralPartialEq for RoleInfoBuilder
Auto Trait Implementations§
impl Freeze for RoleInfoBuilder
impl RefUnwindSafe for RoleInfoBuilder
impl Send for RoleInfoBuilder
impl Sync for RoleInfoBuilder
impl Unpin for RoleInfoBuilder
impl UnwindSafe for RoleInfoBuilder
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.