Struct aws_sdk_macie2::types::builders::UserIdentityRootBuilder
source · #[non_exhaustive]pub struct UserIdentityRootBuilder { /* private fields */ }
Expand description
A builder for UserIdentityRoot
.
Implementations§
source§impl UserIdentityRootBuilder
impl UserIdentityRootBuilder
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.
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.
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.
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 or role that 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 or role that 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 or role that 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 entity that 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 entity that performed the action.
sourcepub fn get_principal_id(&self) -> &Option<String>
pub fn get_principal_id(&self) -> &Option<String>
The unique identifier for the entity that performed the action.
sourcepub fn build(self) -> UserIdentityRoot
pub fn build(self) -> UserIdentityRoot
Consumes the builder and constructs a UserIdentityRoot
.
Trait Implementations§
source§impl Clone for UserIdentityRootBuilder
impl Clone for UserIdentityRootBuilder
source§fn clone(&self) -> UserIdentityRootBuilder
fn clone(&self) -> UserIdentityRootBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserIdentityRootBuilder
impl Debug for UserIdentityRootBuilder
source§impl Default for UserIdentityRootBuilder
impl Default for UserIdentityRootBuilder
source§fn default() -> UserIdentityRootBuilder
fn default() -> UserIdentityRootBuilder
source§impl PartialEq<UserIdentityRootBuilder> for UserIdentityRootBuilder
impl PartialEq<UserIdentityRootBuilder> for UserIdentityRootBuilder
source§fn eq(&self, other: &UserIdentityRootBuilder) -> bool
fn eq(&self, other: &UserIdentityRootBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.