Struct aws_sdk_macie2::operation::create_invitations::builders::CreateInvitationsInputBuilder
source · #[non_exhaustive]pub struct CreateInvitationsInputBuilder { /* private fields */ }
Expand description
A builder for CreateInvitationsInput
.
Implementations§
source§impl CreateInvitationsInputBuilder
impl CreateInvitationsInputBuilder
sourcepub fn account_ids(self, input: impl Into<String>) -> Self
pub fn account_ids(self, input: impl Into<String>) -> Self
Appends an item to account_ids
.
To override the contents of this collection use set_account_ids
.
An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.
sourcepub fn set_account_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_account_ids(self, input: Option<Vec<String>>) -> Self
An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.
sourcepub fn get_account_ids(&self) -> &Option<Vec<String>>
pub fn get_account_ids(&self) -> &Option<Vec<String>>
An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.
sourcepub fn disable_email_notification(self, input: bool) -> Self
pub fn disable_email_notification(self, input: bool) -> Self
Specifies whether to send the invitation as an email message. If this value is false, Amazon Macie sends the invitation (as an email message) to the email address that you specified for the recipient's account when you associated the account with your account. The default value is false.
sourcepub fn set_disable_email_notification(self, input: Option<bool>) -> Self
pub fn set_disable_email_notification(self, input: Option<bool>) -> Self
Specifies whether to send the invitation as an email message. If this value is false, Amazon Macie sends the invitation (as an email message) to the email address that you specified for the recipient's account when you associated the account with your account. The default value is false.
sourcepub fn get_disable_email_notification(&self) -> &Option<bool>
pub fn get_disable_email_notification(&self) -> &Option<bool>
Specifies whether to send the invitation as an email message. If this value is false, Amazon Macie sends the invitation (as an email message) to the email address that you specified for the recipient's account when you associated the account with your account. The default value is false.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
Custom text to include in the email message that contains the invitation. The text can contain as many as 80 alphanumeric characters.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
Custom text to include in the email message that contains the invitation. The text can contain as many as 80 alphanumeric characters.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
Custom text to include in the email message that contains the invitation. The text can contain as many as 80 alphanumeric characters.
sourcepub fn build(self) -> Result<CreateInvitationsInput, BuildError>
pub fn build(self) -> Result<CreateInvitationsInput, BuildError>
Consumes the builder and constructs a CreateInvitationsInput
.
source§impl CreateInvitationsInputBuilder
impl CreateInvitationsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateInvitationsOutput, SdkError<CreateInvitationsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateInvitationsOutput, SdkError<CreateInvitationsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateInvitationsInputBuilder
impl Clone for CreateInvitationsInputBuilder
source§fn clone(&self) -> CreateInvitationsInputBuilder
fn clone(&self) -> CreateInvitationsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateInvitationsInputBuilder
impl Default for CreateInvitationsInputBuilder
source§fn default() -> CreateInvitationsInputBuilder
fn default() -> CreateInvitationsInputBuilder
source§impl PartialEq for CreateInvitationsInputBuilder
impl PartialEq for CreateInvitationsInputBuilder
source§fn eq(&self, other: &CreateInvitationsInputBuilder) -> bool
fn eq(&self, other: &CreateInvitationsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.