Struct aws_sdk_macie2::types::builders::InvitationBuilder
source · #[non_exhaustive]pub struct InvitationBuilder { /* private fields */ }
Expand description
A builder for Invitation
.
Implementations§
source§impl InvitationBuilder
impl InvitationBuilder
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 that sent the invitation.
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 that sent the invitation.
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 that sent the invitation.
sourcepub fn invitation_id(self, input: impl Into<String>) -> Self
pub fn invitation_id(self, input: impl Into<String>) -> Self
The unique identifier for the invitation.
sourcepub fn set_invitation_id(self, input: Option<String>) -> Self
pub fn set_invitation_id(self, input: Option<String>) -> Self
The unique identifier for the invitation.
sourcepub fn get_invitation_id(&self) -> &Option<String>
pub fn get_invitation_id(&self) -> &Option<String>
The unique identifier for the invitation.
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 the invitation was sent.
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 the invitation was sent.
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 the invitation was sent.
sourcepub fn relationship_status(self, input: RelationshipStatus) -> Self
pub fn relationship_status(self, input: RelationshipStatus) -> Self
The status of the relationship between the account that sent the invitation and the account that received the invitation.
sourcepub fn set_relationship_status(self, input: Option<RelationshipStatus>) -> Self
pub fn set_relationship_status(self, input: Option<RelationshipStatus>) -> Self
The status of the relationship between the account that sent the invitation and the account that received the invitation.
sourcepub fn get_relationship_status(&self) -> &Option<RelationshipStatus>
pub fn get_relationship_status(&self) -> &Option<RelationshipStatus>
The status of the relationship between the account that sent the invitation and the account that received the invitation.
sourcepub fn build(self) -> Invitation
pub fn build(self) -> Invitation
Consumes the builder and constructs a Invitation
.
Trait Implementations§
source§impl Clone for InvitationBuilder
impl Clone for InvitationBuilder
source§fn clone(&self) -> InvitationBuilder
fn clone(&self) -> InvitationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InvitationBuilder
impl Debug for InvitationBuilder
source§impl Default for InvitationBuilder
impl Default for InvitationBuilder
source§fn default() -> InvitationBuilder
fn default() -> InvitationBuilder
source§impl PartialEq<InvitationBuilder> for InvitationBuilder
impl PartialEq<InvitationBuilder> for InvitationBuilder
source§fn eq(&self, other: &InvitationBuilder) -> bool
fn eq(&self, other: &InvitationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.