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 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 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 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 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 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<FederatedUserBuilder> for FederatedUserBuilder
impl PartialEq<FederatedUserBuilder> 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 ==
.