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 for UserIdentityRootBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for UserIdentityRootBuilder
Auto Trait Implementations§
impl Freeze for UserIdentityRootBuilder
impl RefUnwindSafe for UserIdentityRootBuilder
impl Send for UserIdentityRootBuilder
impl Sync for UserIdentityRootBuilder
impl Unpin for UserIdentityRootBuilder
impl UnwindSafe for UserIdentityRootBuilder
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