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 ==
.