Struct aws_sdk_macie2::types::builders::IamUserBuilder
source · #[non_exhaustive]pub struct IamUserBuilder { /* private fields */ }Expand description
A builder for IamUser.
Implementations§
source§impl IamUserBuilder
impl IamUserBuilder
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The unique identifier for the Amazon Web Services account that's associated with the IAM user who performed the action.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The unique identifier for the Amazon Web Services account that's associated with the IAM user who performed the action.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The unique identifier for the Amazon Web Services account that's associated with the IAM user who performed the action.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the principal that performed the action. The last section of the ARN contains the name of the user who performed the action.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the principal that performed the action. The last section of the ARN contains the name of the user who performed the action.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the principal that performed the action. The last section of the ARN contains the name of the user who performed the action.
sourcepub fn principal_id(self, input: impl Into<String>) -> Self
pub fn principal_id(self, input: impl Into<String>) -> Self
The unique identifier for the IAM user who performed the action.
sourcepub fn set_principal_id(self, input: Option<String>) -> Self
pub fn set_principal_id(self, input: Option<String>) -> Self
The unique identifier for the IAM user who performed the action.
sourcepub fn get_principal_id(&self) -> &Option<String>
pub fn get_principal_id(&self) -> &Option<String>
The unique identifier for the IAM user who performed the action.
sourcepub fn user_name(self, input: impl Into<String>) -> Self
pub fn user_name(self, input: impl Into<String>) -> Self
The username of the IAM user who performed the action.
sourcepub fn set_user_name(self, input: Option<String>) -> Self
pub fn set_user_name(self, input: Option<String>) -> Self
The username of the IAM user who performed the action.
sourcepub fn get_user_name(&self) -> &Option<String>
pub fn get_user_name(&self) -> &Option<String>
The username of the IAM user who performed the action.
Trait Implementations§
source§impl Clone for IamUserBuilder
impl Clone for IamUserBuilder
source§fn clone(&self) -> IamUserBuilder
fn clone(&self) -> IamUserBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for IamUserBuilder
impl Debug for IamUserBuilder
source§impl Default for IamUserBuilder
impl Default for IamUserBuilder
source§fn default() -> IamUserBuilder
fn default() -> IamUserBuilder
source§impl PartialEq for IamUserBuilder
impl PartialEq for IamUserBuilder
source§fn eq(&self, other: &IamUserBuilder) -> bool
fn eq(&self, other: &IamUserBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IamUserBuilder
Auto Trait Implementations§
impl Freeze for IamUserBuilder
impl RefUnwindSafe for IamUserBuilder
impl Send for IamUserBuilder
impl Sync for IamUserBuilder
impl Unpin for IamUserBuilder
impl UnwindSafe for IamUserBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more