Struct aws_sdk_sso::types::builders::RoleInfoBuilder
source · #[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§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.