Struct aws_sdk_macie2::types::builders::FederatedUserBuilder
source · #[non_exhaustive]pub struct FederatedUserBuilder { /* private fields */ }Expand description
A builder for FederatedUser.
Implementations§
source§impl FederatedUserBuilder
impl FederatedUserBuilder
sourcepub fn access_key_id(self, input: impl Into<String>) -> Self
pub fn access_key_id(self, input: impl Into<String>) -> Self
The Amazon Web Services access key ID that identifies the credentials.
sourcepub fn set_access_key_id(self, input: Option<String>) -> Self
pub fn set_access_key_id(self, input: Option<String>) -> Self
The Amazon Web Services access key ID that identifies the credentials.
sourcepub fn get_access_key_id(&self) -> &Option<String>
pub fn get_access_key_id(&self) -> &Option<String>
The Amazon Web Services access key ID that identifies the credentials.
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 owns the entity that was used to get the credentials.
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 owns the entity that was used to get the credentials.
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 owns the entity that was used to get the credentials.
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 entity that was used to get the credentials.
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 entity that was used to get the credentials.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the entity that was used to get the credentials.
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 was used to get the credentials.
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 was used to get the credentials.
sourcepub fn get_principal_id(&self) -> &Option<String>
pub fn get_principal_id(&self) -> &Option<String>
The unique identifier for the entity that was used to get the credentials.
sourcepub fn session_context(self, input: SessionContext) -> Self
pub fn session_context(self, input: SessionContext) -> Self
The details of the session that was created for the credentials, including the entity that issued the session.
sourcepub fn set_session_context(self, input: Option<SessionContext>) -> Self
pub fn set_session_context(self, input: Option<SessionContext>) -> Self
The details of the session that was created for the credentials, including the entity that issued the session.
sourcepub fn get_session_context(&self) -> &Option<SessionContext>
pub fn get_session_context(&self) -> &Option<SessionContext>
The details of the session that was created for the credentials, including the entity that issued the session.
sourcepub fn build(self) -> FederatedUser
pub fn build(self) -> FederatedUser
Consumes the builder and constructs a FederatedUser.
Trait Implementations§
source§impl Clone for FederatedUserBuilder
impl Clone for FederatedUserBuilder
source§fn clone(&self) -> FederatedUserBuilder
fn clone(&self) -> FederatedUserBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for FederatedUserBuilder
impl Debug for FederatedUserBuilder
source§impl Default for FederatedUserBuilder
impl Default for FederatedUserBuilder
source§fn default() -> FederatedUserBuilder
fn default() -> FederatedUserBuilder
source§impl PartialEq for FederatedUserBuilder
impl PartialEq for FederatedUserBuilder
source§fn eq(&self, other: &FederatedUserBuilder) -> bool
fn eq(&self, other: &FederatedUserBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FederatedUserBuilder
Auto Trait Implementations§
impl Freeze for FederatedUserBuilder
impl RefUnwindSafe for FederatedUserBuilder
impl Send for FederatedUserBuilder
impl Sync for FederatedUserBuilder
impl Unpin for FederatedUserBuilder
impl UnwindSafe for FederatedUserBuilder
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