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 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 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 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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<InvitationBuilder> for InvitationBuilder
impl PartialEq<InvitationBuilder> for InvitationBuilder
source§fn eq(&self, other: &InvitationBuilder) -> bool
fn eq(&self, other: &InvitationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.