Struct aws_sdk_macie2::types::builders::MemberBuilder
source · #[non_exhaustive]pub struct MemberBuilder { /* private fields */ }
Expand description
A builder for Member
.
Implementations§
source§impl MemberBuilder
impl MemberBuilder
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID for the account.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID for the account.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The Amazon Web Services account ID for the account.
sourcepub fn administrator_account_id(self, input: impl Into<String>) -> Self
pub fn administrator_account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID for the administrator account.
sourcepub fn set_administrator_account_id(self, input: Option<String>) -> Self
pub fn set_administrator_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID for the administrator account.
sourcepub fn get_administrator_account_id(&self) -> &Option<String>
pub fn get_administrator_account_id(&self) -> &Option<String>
The Amazon Web Services account ID for the administrator 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 account.
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 account.
sourcepub fn email(self, input: impl Into<String>) -> Self
pub fn email(self, input: impl Into<String>) -> Self
The email address for the account. This value is null if the account is associated with the administrator account through Organizations.
sourcepub fn set_email(self, input: Option<String>) -> Self
pub fn set_email(self, input: Option<String>) -> Self
The email address for the account. This value is null if the account is associated with the administrator account through Organizations.
sourcepub fn get_email(&self) -> &Option<String>
pub fn get_email(&self) -> &Option<String>
The email address for the account. This value is null if the account is associated with the administrator account through Organizations.
sourcepub fn invited_at(self, input: DateTime) -> Self
pub fn invited_at(self, input: DateTime) -> Self
The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie membership invitation hasn't been sent to the account.
sourcepub fn set_invited_at(self, input: Option<DateTime>) -> Self
pub fn set_invited_at(self, input: Option<DateTime>) -> Self
The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie membership invitation hasn't been sent to the account.
sourcepub fn get_invited_at(&self) -> &Option<DateTime>
pub fn get_invited_at(&self) -> &Option<DateTime>
The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation was last sent to the account. This value is null if a Macie membership invitation hasn't been sent to the account.
sourcepub fn master_account_id(self, input: impl Into<String>) -> Self
pub fn master_account_id(self, input: impl Into<String>) -> Self
(Deprecated) The Amazon Web Services account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.
sourcepub fn set_master_account_id(self, input: Option<String>) -> Self
pub fn set_master_account_id(self, input: Option<String>) -> Self
(Deprecated) The Amazon Web Services account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.
sourcepub fn get_master_account_id(&self) -> &Option<String>
pub fn get_master_account_id(&self) -> &Option<String>
(Deprecated) The Amazon Web Services account ID for the administrator account. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.
sourcepub fn relationship_status(self, input: RelationshipStatus) -> Self
pub fn relationship_status(self, input: RelationshipStatus) -> Self
The current status of the relationship between the account and the administrator account.
sourcepub fn set_relationship_status(self, input: Option<RelationshipStatus>) -> Self
pub fn set_relationship_status(self, input: Option<RelationshipStatus>) -> Self
The current status of the relationship between the account and the administrator account.
sourcepub fn get_relationship_status(&self) -> &Option<RelationshipStatus>
pub fn get_relationship_status(&self) -> &Option<RelationshipStatus>
The current status of the relationship between the account and the administrator account.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.
A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.
A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the administrator account.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the administrator account.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the administrator account.
Trait Implementations§
source§impl Clone for MemberBuilder
impl Clone for MemberBuilder
source§fn clone(&self) -> MemberBuilder
fn clone(&self) -> MemberBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MemberBuilder
impl Debug for MemberBuilder
source§impl Default for MemberBuilder
impl Default for MemberBuilder
source§fn default() -> MemberBuilder
fn default() -> MemberBuilder
source§impl PartialEq for MemberBuilder
impl PartialEq for MemberBuilder
source§fn eq(&self, other: &MemberBuilder) -> bool
fn eq(&self, other: &MemberBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.