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