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 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 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 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
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 UserIdentityRootBuilder
impl Debug for UserIdentityRootBuilder
source§impl Default for UserIdentityRootBuilder
impl Default for UserIdentityRootBuilder
source§fn default() -> UserIdentityRootBuilder
fn default() -> UserIdentityRootBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UserIdentityRootBuilder> for UserIdentityRootBuilder
impl PartialEq<UserIdentityRootBuilder> for UserIdentityRootBuilder
source§fn eq(&self, other: &UserIdentityRootBuilder) -> bool
fn eq(&self, other: &UserIdentityRootBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.